help-glpk
[Top][All Lists]
Advanced

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

Re: lpx_integer/lpx_simplex question? Re: [Help-glpk] lpx_integer proble


From: Michael Hennebry
Subject: Re: lpx_integer/lpx_simplex question? Re: [Help-glpk] lpx_integer problem "optiomal solution of LPrelaxation"
Date: Tue, 23 Dec 2003 09:26:23 -0600 (CST)

On Tue, 23 Dec 2003, Joonas Timo Taavetti Kekoni wrote:

> If I need to solve same data with different objective funtion, do
> I need to run also lpx_simplex again or just only lpx_integer?

lpx_simplex needs to be run to proven optimality.

> If I change column coefficients then I need to run lpx_simplex again?
>
> Is it enough to just do lpx_set_class(... LPX_LP ) after doing
> lpx_integer , but before  doing
> lpx_simplex, or do I need to do something else?

Set the class to LPX_MIP and leave it.
lpx_simplex will not notice that some variables are supposed to be integer.

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





reply via email to

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