This is an old revision of the document!
In order to use
GAMS/BARON, users will need to have a
GAMS/BARON license as well as a licensed GAMS linear programming (LP) solver. A licensed GAMS nonlinear programming (NLP) solver is optional and usually expedites convergence. By default,
GAMS/BARON will attempt to use
CPLEX as the LP solver and
MINOS as the NLP solver. If the user does not have licenses for these solvers, then the user must use the options
NLPSol to specify another LP or NLP solver.
GAMS/BARONsolves can become quite large and difficult.
SNOPTcan be chosen using the option
nlpsol = 2and
nlpsol = 4, respectively, all other solvers can be chosen via
nlpsol = 6and the addition option
ExtNLPSolver = conopt.1will instruct Baron to use Conopt with an option file conopt.opt.
GAMS/BARONwill not work if
CONOPTis the only available solver. While
CONOPTcan solve LP problems independent of
GAMS/BARON, it is not available as an LP solver within
GAMS/BARONcan be used without an NLP solver by setting
DoLocal = 0and
NumLoc = 0in a
GAMS/BARONoption file. Please consult §4 of the
GAMS/BARONmanual for further information.
GAMS/BARON system requires any one of the
CPLEX, MINOS, SNOPT, or
XPRESS solvers together with the appropriate options. For example, if only
XPRESS is available the following options need to be set:
lpsol 7 # select XPRESS as the LP solver dolocal 0 # turn off local search with an NLP solver numloc 0 # see dolocal
SNOPT is available, we can use
SNOPT for solving the LP and NLP problems. Hence the appropriate option file would look like
lpsol 4 # select SNOPT as the LP solver nlpsol 4 # select SNOPT as the NLP solver