help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] how to install glpk on matlab in windows xp


From: Xypron
Subject: Re: [Help-glpk] how to install glpk on matlab in windows xp
Date: Fri, 22 Oct 2010 19:11:41 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.14) Gecko/20100930 SeaMonkey/2.0.9


Hello Swati,

> Please help me on how to install glpk on a windows xp (32 bit) running on VMware. > 1. Download the precompiled version of glpkmex from sourceforge <http://glpkmex.sourceforge.net/>:
Do you want to use GLPK or GLPKMEX?

GLPK binaries for windows are available at
http://winglpk.sourceforge.net.

GLPKMEX is an add on to Matlab to use GLPK in conjunction with Matlab. The homepage is
http://glpkmex.sourceforge.net/

To get help for GLPKMEX, please, contact the administrators of the Sourceforge
project. See
http://sourceforge.net/project/memberlist.php?group_id=199722

Best regards

Xypron


Swati Sinha wrote:
Please help me on how to install glpk on a windows xp (32 bit) running on VMware.

i followed the steps:

   1. Download the precompiled version of glpkmex from sourceforge
      <http://glpkmex.sourceforge.net/>:
         1. At the time of writing, you need to download two files
            from the glpkmex page
            <http://sourceforge.net/projects/glpkmex/>:
            glpkmex-2.8-src.zip
            
<http://sourceforge.net/projects/glpkmex/files/glpkmex/2.8/glpkmex-2.8-src.zip/download>
            and glpkcc.mex32
            
<http://sourceforge.net/projects/glpkmex/files/glpkmex/2.8/glpkcc.mexw32/download>.

   2. 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).
   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.


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
*C*enter* *for* C*omputational* B*iology and* B*ioinformatics,
*S*chool of* C*omputational* &* *I*ntegrative* S*ciences
*J*awaharlal* **N*ehru *U*niversity,
New Delhi-110067



_______________________________________________
Help-glpk mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-glpk




reply via email to

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