help-glpk
[Top][All Lists]
Advanced

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

RE: [Help-glpk] binary decision variables, --nomip


From: Michael Hennebry
Subject: RE: [Help-glpk] binary decision variables, --nomip
Date: Fri, 4 Sep 2009 07:12:29 -0500 (CDT)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

On Fri, 4 Sep 2009, Linder Wolfgang wrote:

Thanks very much for your answer.
I tried with --mipgap 20 but often it still takes too long (the program has a 
lot of binary variables for diagnostic reasons, for example to calculate the 
cost if a machine has to be started, maximum up and down time etc).

Which is the option that finds the first feasible solution?
Using different weights for different levels indeed helps, but so far is not 
sufficient.

I don't remember.  I expect it's in the manual.
Another possibility is to set the time limit.
Presumably you know how long is too long.
If that doesn't work either,
you might have to use the API and do something iterative.

If you costs are all on the integer variables,
it might help to make the coefficients small integers.

--
Michael   address@hidden
"Pessimist: The glass is half empty.
Optimist:   The glass is half full.
Engineer:   The glass is twice as big as it needs to be."




reply via email to

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