bug-glpk
[Top][All Lists]
Advanced

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

Re: [Bug-glpk] Problem in the MIP problem


From: Cedric[FR]
Subject: Re: [Bug-glpk] Problem in the MIP problem
Date: Mon, 27 Oct 2008 18:37:01 +0300


Andrew Makhorin wrote:
> 
>> Hmm... There is something wrong. Please print the type and bounds
>> of the variable reported by glp_get_col_type, glp_get_col_lb, and
>> glp_get_col_ub immediately after glp_set_col_bnds(... GLP_FX ...).
>> The type reported must be GLP_FX = 5. If not, please check your code.
> 
> Hi,
> 
> I check my code and I resolve my problem. But, an other problem appear.
> 
> When I fix a variable at one, and after, I define the type as binary, then
> the lower bound is 0 instead of 1.
> 
> I resolve this problem in declaring variables as integer. But, why
> glp_set_col_kind redefine the lower bound
> 
> Thanks
> 
> Cédric
> 
> _______________________________________________
> Bug-glpk mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-glpk
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-in-the-MIP-problem-tp20030554p20188642.html
Sent from the Gnu - GLPK - Bugs mailing list archive at Nabble.com.








reply via email to

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