kaushikrcks / lpsolver

Automatically exported from code.google.com/p/lpsolver
0 stars 0 forks source link

Bad Solution for Simple LPP #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Obj Func: 3,4,5,2,7,8 Minimize
2. Constraints:
1,1,1,0,0,0,=,5
0,0,0,0,1,1,=,5
1,0,0,-1,0,0,=,0
0,1,0,1,-1,0,=,0
0,0,1,0,0,-1,=,0
3. Solve

What is the expected output? What do you see instead?
Expect Solution: 0,5,0,0,5,0 for OFV = 55.  Instead get 0,0,0,0,5,0 for OFV = 
55.
LaTeX Output has variant solution; suspect failure in pivot variable choosing 
method.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by GTh...@gmail.com on 24 Apr 2009 at 2:22

GoogleCodeExporter commented 8 years ago
Included a check for redundant constraints when compiling the optimal solution.

Original comment by GTh...@gmail.com on 31 May 2009 at 3:17