help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] BUG:GLPKMEX Version 2.7 (or 2.3 and the upper versions)is no


From: yookeee
Subject: [Help-glpk] BUG:GLPKMEX Version 2.7 (or 2.3 and the upper versions)is not available for Matlab!
Date: Mon, 22 Mar 2010 14:45:55 +0300

Hi,

    I followed instructions 
at the linear programming solvers page on the UCSD site: 

 Download the precompiled version of glpkmex from sourceforge.  Unzip the .zip 
file and copy it 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. 

Then I test glpktest1.

Error messege is as follows:

??? Undefined function or method 'glpkcc' for input arguments of type 'struct'.



Error in ==> glpk at 508

[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)

 



2010-03-22



yookeee 



 
Hi,
    I followed instructions at the linear programming solvers page on the UCSD site:
  1. Download the precompiled version of glpkmex from sourceforge.
  2. Unzip the .zip file and copy it to the toolboxes folder of your Matlab installation (for example, C:\Program Files\MATLAB\R2008b\toolbox).
  3. Add the glpkmex folder to your Matlab path:
  4. In Matlab, go to "Set Path" from the "File" drop menu.
  5. In the "Set Path" dialog box that pops up, choose "Add with Subfolders"
  6. Navigate to the glpkmex folder you added to your toolbox folder and click "ok"
  7. Click "Save" in the "Set Path" diaglog box, then "Close"
  8. Test the glpk installation by typing "glpktest1" and then "glpktest2" at the Matlab command prompt. You shouldn't get any errors.
Then I test glpktest1.
Error messege is as follows:
??? Undefined function or method 'glpkcc' for input arguments of type 'struct'.
Error in ==> glpk at 508
[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)
 
2010-03-22

yookeee

reply via email to

[Prev in Thread] Current Thread [Next in Thread]