[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] Re: puzzled by simple mps
From: |
Andrew Makhorin |
Subject: |
[Help-glpk] Re: puzzled by simple mps |
Date: |
Tue, 7 Oct 2003 22:33:42 +0300 |
>I am having problems with a small LP.
>I have loaded a Mathprog model and modified it with the glpk API.
>
>Trying to solve the problem, I came to a dead end with GLPK reporting that
>the problem is infeasible while it is trivial to see that there exist a
>feasible solution.
>
>The attached MPS gives the problem written by lpx_write_mps and the attached
>SOL is the ouput of lpx_print_sol.
glpsol cannot read your mps file because there are two rows with the
same name 'gain'. Make sure that the control parameter LPX_K_MPSOBJ is 2
before call to lpx_write_mps.
>But why does GLPK have problems (has reported in the .sol) ?
In the .sol the status is "infeasible (intermediate)" that means that
the search was prematurely terminated. Check the control parameters.