Difference between revisions of "Error Messages/42560"

(Created page with "= Example Error Message = Sorry, Analytica could not find a license for the Knitro solver add-on engine.   If you received a solver add-on license file from Lumina, plea...")
 
Line 17: Line 17:
 
When this message is displayed, your model was probably evaluating a [[DefineOptimization]] function (or possibily one of the older [[LpDefine]], [[QpDefine]] or [[NlpDefine]] functions).  In that function call, you'll find an explicit «engine» parameter, such as:
 
When this message is displayed, your model was probably evaluating a [[DefineOptimization]] function (or possibily one of the older [[LpDefine]], [[QpDefine]] or [[NlpDefine]] functions).  In that function call, you'll find an explicit «engine» parameter, such as:
  
:[[DefineOptimization]]( decisions:x,y, constraints: c1,c2, maximize: z, <font color="red">engine:"Knitro"</font>)
+
:[[DefineOptimization]]( decisions:x,y, constraints: c1,c2, maximize: z, <font color="green">engine:"Knitro"</font>)
  
 
You can remove that «engine» parameter, or replace it with the name of a built-in engine.
 
You can remove that «engine» parameter, or replace it with the name of a built-in engine.

Revision as of 22:39, 25 January 2011

Example Error Message

Sorry, Analytica could not find a license for the Knitro solver add-on engine.
 
If you received a solver add-on license file from Lumina, please make sure you have copied it to the Analytica 4.3
installation directory.  If you do not yet have a solver add-on license, please contact Lumina at +1(650) 212-1212
or sales@lumina.com to buy one.

Cause

You do not currently have a valid license to run the indicated optimization/solver engine.

The standard edition of Analytica Optimizer comes with several built-in optimizer/solver engines: "LP/Quadratic", "SOCP Barrier", "GRG Nonlinear" and "Evolutionary". In addition to these, several other engines are available for purchase at extra cost, most of which are made by fourth party companies -- these include "Knitro", "Gurobi", "OptQuest", "XPress", "MOSEK" and Frontline's "LSGRG" and "LSSQP" engines. Your model has attempted to use one of these add-on engines, but the license for it was not found.

Remedy

When this message is displayed, your model was probably evaluating a DefineOptimization function (or possibily one of the older LpDefine, QpDefine or NlpDefine functions). In that function call, you'll find an explicit «engine» parameter, such as:

DefineOptimization( decisions:x,y, constraints: c1,c2, maximize: z, engine:"Knitro")

You can remove that «engine» parameter, or replace it with the name of a built-in engine.

Alternatively, you can obtain and properly install a license file. The license file(s) have the extension *.lic. You should place the license file in the Analytica install directory (where the Analytica.exe file resides).

If you believe you have a license file and are having trouble getting it to work, then the best bet is email to support@lumina.com.

Comments


You are not allowed to post comments.