Hello everyone.
I have a doubt about syntax, I have a model which I solve using Xpress (OSIxpress) and I want to apply more aggressive cuts. In Xpress I would do it like this: setparam("xprs_cutstrategy", 4).
My question is how do I do this using GAMS? I want the solver to remain Xpress but with that feature.
An apology if my doubt in very clumsy but I am just starting to use GAMS.
Regards to all
Hola a todos.
Tengo una duda sobre sintaxis, tengo un modelo que resuelvo usando Xpress (OSIxpress) y quiero aplicar cortes más agresivos. En Xpress lo haría así: setparam("xprs_cutstrategy", 4).
Mi pregunta es ¿cómo hago esto usando GAMS? Quiero que el solver siga siendo Xpress pero con esa característica.
Una disculpa si mi duda en muy torpe pero apenas estoy empezando a usar GAMS.
Saludos a todos
cutstrategy with xpress in Gams Topic is solved
Re: cutstrategy with xpress in Gams
Hello,
To pass solver-specific options (like the XPRESS cutstrategy parameter) to a solver, use a solver options file.
https://www.gams.com/latest/docs/UG_SolverUsage.html
https://www.gams.com/latest/docs/S_XPRE ... SS_OPTIONS
-Steve
To pass solver-specific options (like the XPRESS cutstrategy parameter) to a solver, use a solver options file.
https://www.gams.com/latest/docs/UG_SolverUsage.html
https://www.gams.com/latest/docs/S_XPRE ... SS_OPTIONS
-Steve
Re: cutstrategy with xpress in Gams
Thank you Dirkse for taking the time to solve my doubt.
Just one more question, so in order to apply the cutting strategy, the following syntax is correct?
MODEL CSCUC_sinPeridas /all/;
option MIP = OSIxpress;
right > OSIxpress.opt
cutStrategy=3
$offecho
CSCUC_sinPeridas.optfile=1;
CSCUC_sinPeridas.optcr = 0.1 ;
CSCUC_sinPeridas.optca = 0.1 ;
solve CSCUC_sinPeridas minimizing F USING MIP;
Just one more question, so in order to apply the cutting strategy, the following syntax is correct?
MODEL CSCUC_sinPeridas /all/;
option MIP = OSIxpress;
right > OSIxpress.opt
cutStrategy=3
$offecho
CSCUC_sinPeridas.optfile=1;
CSCUC_sinPeridas.optcr = 0.1 ;
CSCUC_sinPeridas.optca = 0.1 ;
solve CSCUC_sinPeridas minimizing F USING MIP;