Unzip the glpkmex-2.8-src.zip file, copy glpkcc.mex32 into the
resulting glpkmex folder, and then copy the glpkmex folder to the
toolboxes folder of your Matlab installation (for example, C:\Program
Files\MATLAB\R2008b\toolbox).
Add the glpkmex folder to your Matlab path:
In Matlab, go to "Set Path" from the "File" drop menu.
In the "Set Path" dialog box that pops up, choose "Add with Subfolders"
Navigate to the glpkmex folder you added to your toolbox folder and click "ok"
Click "Save" in the "Set Path" diaglog box, then "Close"
Test the glpk installation by typing "glpktest1" and then
"glpktest2" at the Matlab command prompt. You shouldn't get any errors.
But when i run glpktest1 or glpktest2 then it gives a error stating:
>> glpktest1 LP problem ??? Undefined command/function 'glpkcc'.
Error in ==> glpk at 498 [xopt, fmin, status, extra] = glpkcc(c, a, b, lb, ub, ctype, vartype, sense, param);
Error in ==> glpktest1 at 21 [xmin,fmin,status,extra]=glpk(c,a,b,lb,ub,ctype,vartype,s,param)
Please help!!
Regards Swati Sinha Ph.D Student Centerfor Computational Biology and Bioinformatics, School of Computational &Integrative Sciences JawaharlalNehru University,
New Delhi-110067