Page 1 of 1

Changing the default solvers  FAQ

Posted: Fri Oct 23, 2020 7:23 pm
by abhosekar
Changing the default solver can be done in various ways:

One of the convenient ways to set default solvers is through gamsconfig.yaml file: ... ommandLine

1. Windows: Run gamsinst.exe (present in the same file as gams.exe) from the command line and change the default solvers
2. Windows: Using the GAMSIDE: File → Options → Solvers. Click on the intersection of solver and model type that you want to be the default combination.
3. Unix: Run gamsinst again and change the default solver there.
4. Use a command line parameter, e.g. nlp=CONOPT
5. Add a line to your model (before the current solve statement) to switch your solver: option nlp=conopt. This will override all other settings and will tell GAMS to use GAMS/CONOPT to solve NLP models instead of the default NLP solver.

Note: Solvers, which call other solvers as a sub system (i.e DICOPT or SBB) may require an option file to change the default solver for the sub problem. Please refer to the solver documentation for more information.