User Tools

Site Tools


Changing the default Solver

Q: I would like to change the default solver (e.g. use CONOPT instead of MINOS for NLPs).

Changing the default solver can be done in various ways:

  1. Windows: Using the GAMSIDE: File → Options → Solvers. Click on the intersection of solver and model type that you want to be the default combination.
  2. Unix: Run gamsinst again and change the default solver there.
  3. Use a command line parameter, e.g. nlp=CONOPT
  4. 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.

solver/changing_the_default_solver.txt · Last modified: 2009/08/11 12:32 by support