|
From: | Andrew Makhorin |
Subject: | Re: [Help-glpk] ILP problem , unexpected solution |
Date: | Tue, 29 Dec 2009 17:13:57 +0300 |
I run your code with a call to glp_write_lp added. Below here is your instance passed to glp_simplex in cplex format: \* Problem: sample *\ Maximize obj: 0 x1 Subject To p: + x4 + x3 + x2 + x1 <= 5 q: - x2 + 10 x1 <= 5 r: - 2 x3 + x2 <= 5 o: - 0.5 x4 + 2 x3 = 1 Bounds 0 <= x1 <= 1 0 <= x2 <= 1 0 <= x3 <= 1 0 <= x4 <= 1 Generals x1 x2 x3 x4 End
[Prev in Thread] | Current Thread | [Next in Thread] |