help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Integer solution required


From: Michael Hennebry
Subject: Re: [Help-glpk] Integer solution required
Date: Tue, 27 Jan 2004 09:38:03 -0600 (CST)

On Tue, 27 Jan 2004, Anett Ehlert wrote:

> 7. lpx_get_col_info
>
> which worked well for small problems, but resulted in non-integer values
> as the problem becomes bigger (e.g. number of constraints about 400,
> which is only a medium sized problem).
>
> Then I tried lpx_integer (after step 5 with class MIP) which gives the
> result "Integer solution found", but still some of the variables are
> non-integer. Is there a way to obtain 1s and 0s for all structural
> variables? (I'm using MSVC++.Net)

To fetch the integer solution, use lpx_get_mip_col.

-- 
Mike   address@hidden
"This dream is brought to you by Sharassin of Shan.  Dreams and
communication wizardry of all sorts at reasonable rates." -- Sharassin of Shan





reply via email to

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