bug-glpk
[Top][All Lists]
Advanced

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

Re: [Bug-glpk] [Fwd: preprocessing goes into infinite loop]


From: Andrew Makhorin
Subject: Re: [Bug-glpk] [Fwd: preprocessing goes into infinite loop]
Date: Tue, 17 Jan 2012 20:10:47 +0300

> 1) If I set the upper bound to DBL_MAX, I encounter the problem. Am I
>  supposed to set an upper bound of infinity differently?

Using DBL_MAX is a bad idea, because if such value is used as a finite
bound, this immediately causes numerical difficulties.

> 
> 2) If not, are you saying that GLPK cannot solve this kind of unbounded
>  integer problem in general?

Glpk cannot preprocess it correctly due to insufficient robustness of
the mip preprocessor. Usually the preprocessor is able to discover
implied bounds of integer variables, in which case the bug does not
appear.

> 
> 3) Since glp_simplex discovers that there is no solution without
>  crashing, would it be advisable to solve by invoking glp_simplex
>  first, then invoking glp_intopt only if continuous solutions exist? or
>  is this horribly inefficient?
> 

Inefficient, but not horribly, because solution of lp relaxation takes a
small percentage of the total time needed to solve mip.




reply via email to

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