help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] inf as RHS of constraint


From: Kevin Hunter
Subject: [Help-glpk] inf as RHS of constraint
Date: Tue, 18 Jan 2011 01:34:44 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

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


reply via email to

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