[Top][All Lists]

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

[Help-glpk] Calling GLPK from Matlab

From: jan-willem . vervoorst
Subject: [Help-glpk] Calling GLPK from Matlab
Date: Sun, 22 Jan 2006 16:11:45 +0100
User-agent: Internet Messaging Program (IMP) 3.2.6

I have a Matlab routine that writes a Mathprog file data file. I then want to
call GLPK from Matlab, have it solve the MIP problem and write the solution to
another data file which I can read with another Matlab routine.
I have written a C++ program in Visual C++ that constructs the problem with
lpx_read_model(), solves it with lpx_integer() and writes it to a file with
I was thining of constructina MEX file to call this C++ function from Matlab,
but I'm not sure how to do that! Can you give me some advice or point me to
some online resources for explanations? I'm not certain how to do it because of
the special settings in Visual C++ (concerning library linking and preprocessor
include folders).
Thanks for the help, Jan Vervoorst

This message was sent using IMP, the Internet Messaging Program.

reply via email to

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