|
Choosing a solver |
Top Previous Next |
|
GAMS offers a number of choices to solve a model and the user may switch solvers at their discretion providing they have appropriate licenses. Mechanically, there are several ways to switch
Option model type = solver name
where model type is the same model type as that used in the Solve statement and solver name is the name of one of the available solvers.
option lp=bdmlp; option nlp=conopt; option MIP=cplex;
model type = solver name as in gams mymodel lp=bdmlp
When using the IDE this is placed in the GAMS command box in the upper right hand corner as discussed in the Running Jobs with GAMS and the GAMS IDE chapter.
The solvers available depends on the license file. |