COIN-OR::LEMON - Graph Library

Opened 17 years ago

Last modified 17 years ago

#92 closed defect

Invalid constraints in LP — at Version 1

Reported by: Balazs Dezso Owned by: Alpar Juttner
Priority: minor Milestone: LEMON 1.1 release
Component: core Version: svn trunk
Keywords: Cc:
Revision id:

Description (last modified by Alpar Juttner)

The following type of constraints are valid in the Lp system:

LpExpr(e) >= double(l) <= double(u),[[BR]]

and the meaning of it is

double(l) <= LpExpr(e) <= double(u).[[BR]]

The solution is easy, if an expr is on the left side of comparison, then the other bound must be also set to +/- Inf, it must not let NaN.

Change History (1)

comment:1 Changed 17 years ago by Alpar Juttner

Description: modified (diff)
Milestone: Post 1.0
Note: See TracTickets for help on using tickets.