Changing the default solver can be done in various ways:
One of the convenient ways to set default solvers is through gamsconfig.yaml file: https://www.gams.com/latest/docs/UG_GamsCall.html#UG_GamsCall_SpecifyingOptionsThroughTheCommandLine
- Windows: Run gamsinst.exe (present in the same file as gams.exe) from the command line and change the default solvers
- Windows: Using the GAMSIDE: File → Options → Solvers. Click on the intersection of solver and model type that you want to be the default combination.
- Unix: Run gamsinst again and change the default solver there.
- Use a command line parameter, e.g. nlp=CONOPT
- 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.