On Wed, 6 Aug 2008, [EMAIL PROTECTED] wrote:
 glp_prob *mip;
 mip = glp_create_prob();
 lpx_read_model("model.mod", "data.dat", "output.out");
 lpx_simplex(mip);
 lpx_integer(mip);
 lpx_print_prob(mip, "problem.dat");
The correct code should be:

mip=lpx_read_model("model.mod", "data.dat", "output.out");

Also, there is no need to create the problem beforehand as lpx_read_model will do this for you.

Regards

Oscar


_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to