Hullo List,

I've recently created an LP that file that both CPlex and Gurobi accept and solve, but that GLPK does not (LP file attached). The issue is the use of infinity ('inf') on the right-hand side of a constraint.

Judging from the grammar in the comments above 'parse_constraints' in glpcpx.c, it would appear that GLPK does not support it. Should I consider this a bug? Or is there perhaps a better way I should be writing these constraints?

Thanks,

Kevin

P.S. The ironic thing is that the only place that I can find a thorough grammar for the *CPLEX* LP format is within the GLPK project. Kudos to GLPK for quality code backed by an actual grammar!

Attachment: glpk_constraint_inf_error.lp.gz
Description: GNU Zip compressed data

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

Reply via email to