help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] lpx_integer problem "optiomal solution of LP relaxation"


From: Michael Hennebry
Subject: Re: [Help-glpk] lpx_integer problem "optiomal solution of LP relaxation"
Date: Mon, 22 Dec 2003 11:32:38 -0600 (CST)

On Mon, 22 Dec 2003, Joonas Timo Taavetti Kekoni wrote:

> I have a problem that is solved  ok  with lpx_simplex.
>
> I changing it into a MIP problem by doing
> 1st   lpx_set_class( LPX_MIP )
> 2nd   lpx_set_col_kind  LPX_IV or LPX_CV for all vars.
> 4rd   lpx_integer to the LPX object.
>
> I get:
> >lpx_integer: optimal solution of LP relaxation required
> 204 (==LPX_E_FAULT)
>
> What should I do to get the problem solved?

You need to run lpx_simplex first.
I believe it says that in the documentation for lpx_integer;

-- 
Mike   address@hidden
"History is written by the winners."  --  the losers





reply via email to

[Prev in Thread] Current Thread [Next in Thread]