[Top][All Lists]

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

Re: [Help-glpk] inf as RHS of constraint

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

At 2:08am -0500 Tue, 18 Jan 2011, Xypron  wrote:
if the right hand side is infinity the constraint is not really

Ahm.  Duh.  I'm an idiot.  My only defense is that it's after 2am my time.

Which version of GLPK have you been using? GLPK 4.45 should support
inf and infinity.

Yikes! I /just/ tried this against GLPK 4.45 that I compiled, literally 5 minutes before sending that email. I'll try again ...

Wait, I'm talking about the RHS of _constraints_ only. I know that GLPK supports inf and infinity in the Bounds section. Here, does this help explain my error/question? (It's against the same file I attached in the previous message.)

$ ./glpsol --lp ./glpk_constraint_inf_error.lp
GLPSOL: GLPK LP/MIP Solver, v4.45
Parameter(s) specified in the command line:
 --lp ../glpk_constraint_inf_error.lp
Reading problem data from `../glpk_constraint_inf_error.lp'...
../glpk_constraint_inf_error.lp:37: missing right-hand side
CPLEX LP file processing error



reply via email to

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