Alternative option file extention names: .Opt, .Op?, .O??, .???

Top  Previous  Next

By setting the value of optfile to a number different from 1 then one can have multiple, situation dependent, option files for the same solver.  The following alternatives apply.

 

Modelname.optfile                         Resultant File                         Example

       setting                                    Extension                              Name

0  --          (no option file)          --
1.opt                        Minos.opt
2.op2                        Conopt.op2
3.op3                        Cplex.op3

...

10.o10                        Xa.010

...

99.o99                        Dicopt.099
100.100                        Gamschk.100

...

999.999                        Gamsbas.999

 

In general

no option file is assumed unless the optfile attribute is set to a non zero value
if the option value is greater than or equal to 2 it is masked on top of the opt file extension with 999 being the largest value allowed.
Using such names can be convenient so one can have different option file settings for different cases.