You have specified Cplex options in a Minos option file. Minos does not know what to do with these... Options don't help with models that can be evaluated at bad points. Use bounds to keep the variables away from regions that can't be evaluated, e.g. x.lo=1e-6; for algebra with sqrt(x).
Search found 340 matches
- 2 months ago
- Forum: Syntax
- Topic: why is the elapsed seconds smaller than the total seconds
- Replies: 1
- Views: 99
I would not worry about this. This is probably a rounding error in routines that measure time somewhat independently.
You can store a solution in a GDX point file (see option savepoint, https://www.gams.com/latest/docs/UG_GamsCall.html#GAMSAOsavepoint). You can load this via execute_loadpoint (https://www.gams.com/latest/docs/UG_GDX.html#UG_GDX_EXECUTION_EXECUTE_LOADPOINT). You also need to tell the solver to start...
GAMS has the solver LocalSolver connected that implements a local search algorithm. If you want to use external algorithms it is relatively easy if your model is simple and can be described by a few sets and parameters: Just export the data to GDX, read it in to Matlab and pass it on to the algorith...
Instead of putting the 0/1 swap logic in a complicated loop/if structure, you can just use a one-liner parallel assignment statement. But your can also put the parallel assignment or the complicated loop/if logic into a macro: set j/1*10/; parameter c(j); c(j)=uniformInt(0,1); display c; loop(j, if(...
Look at GAMS Model Library model absmip (https://www.gams.com/latest/gamslib_ml/ ... bsmip.html) This shows how to linearly (with discrete variables) model abs, min, max, and sign.
That's a totally different question. If you turn a linear coefficient into a non-linear one this can have all sorts of effects depending on the model, e.g. this want allow the variable to becomes negative. So without specifics it's hard to say what is going on. Why don't you be precise and tell us h...