Hi, 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 lpx_print_mip(). 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. _______________________________________________ Help-glpk mailing list Help-glpk@gnu.org http://lists.gnu.org/mailman/listinfo/help-glpk