Public bug reported:

Inequality constraints and integer variables give clearly incorrect
results, which are not explicitly mentioned in the documentation.

For instance, trying to solve the following program in lp format:

min: x;

x > 0;

int x;


Results in:

Value of objective function: 0

Actual values of the variables:
x                               0


Which is clearly incorrect.
The solution, which involves using some artificial boundaries such as "x > 
0.00000001" instead of "x > 0", is NOT intuitive and nowhere mentioned in the 
documentation. This is extremely frustrating for novice users.

If there are limitations which prevent lp_solve from correctly parsing
the given input program without having to add some residual value to
"0", then at least it should be mentioned in the documentation.

** Affects: lp-solve (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1334411

Title:
  integer constraints in lp format do not seem to be respected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lp-solve/+bug/1334411/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to