COIN-OR::LEMON - Graph Library

Opened 11 years ago

Closed 11 years ago

#92 closed defect (fixed)

Invalid constraints in LP

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 (2)

comment:1 Changed 11 years ago by Alpar Juttner

Description: modified (diff)
Milestone: Post 1.0

comment:2 Changed 11 years ago by Balazs Dezso

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.