User Tools

Site Tools


solver:error_baron_has_encountered_a_licensing_error_barstatus_11_despite_of_a_valid_baron_license

Error "BARON has encountered a licensing error barstatus=11" despite of a valid BARON license

Please check the log file of your model run. Most likely some lines will read:

 
...
===========================================================================
Factorable Non-Linear Programming
===========================================================================
LP Solver: CPLEX
NLP Solver: MINOS
..

These are the solvers used by BARON to solve the sub problems and both have to licensed properly. By default, GAMS/BARON uses CPLEX as the LP solver and MINOS as the NLP solver. If you want to change this, you must use the options LPSol and NLPSol to specify another LP or NLP solver. GAMS/BARON can be used without a local NLP solver by setting DoLocal = 0 and NumLoc = 0. Please check the BARON manual for details.

To use MINOS as default LP solver, create a solver option file baron.opt, and add the line:

  LPSol 2

Don't forget to activate your solver option file and inspect the log file, whether BARON has accepted the new settings:

 
...
===========================================================================
Factorable Non-Linear Programming
===========================================================================
LP Solver: MINOS
NLP Solver: MINOS
..
solver/error_baron_has_encountered_a_licensing_error_barstatus_11_despite_of_a_valid_baron_license.txt · Last modified: 2007/11/07 15:26 by franz