Difference between revisions of "Error Messages/42560"
m (→Remedy) |
|||
Line 1: | Line 1: | ||
− | + | [[Category: Error messages]] | |
+ | == Example error message == | ||
+ | <pre style="background:white; border:white; margin-left: 1em; font-style:italic"> | ||
Sorry, Analytica could not find a license for the Knitro solver add-on engine. | 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 | + | If you received a solver add-on license file from Lumina, please make sure you have copied it to the Analytica |
installation directory. If you do not yet have a solver add-on license, please contact Lumina at +1(650) 212-1212 | 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. | or sales@lumina.com to buy one. | ||
+ | </pre> | ||
− | = Cause = | + | == Cause == |
You do not currently have a valid license to run the indicated optimization/solver engine. | 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. | + | The standard edition of [[Analytica Optimizer Guide|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 = | + | == Remedy == |
− | When this message is displayed, your model was probably evaluating a [[DefineOptimization]] function (or | + | When this message is displayed, your model was probably evaluating a [[DefineOptimization]] function (or possibly one of the older [[LpDefine]], [[QpDefine]] or [[NlpDefine]] functions). In that function call, you'll find an explicit «engine» parameter, such as: |
− | : | + | :<code>DefineOptimization(decisions: x, y, constraints: c1, c2, maximize: z, <font color="green">engine: "Knitro"</font>)</code> |
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. | ||
− | Alternatively, you can obtain and properly install a license file. The license file(s) have the extension <code>*.lic</code>. You should place the license file in the Analytica install directory (where the Analytica.exe file resides). | + | Alternatively, you can obtain and properly install a license file. The license file(s) have the extension <code>*.lic</code>. You should place the license file in the Analytica install directory (where the code>Analytica.exe</code> 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 | + | If you believe you have a license file and are having trouble getting it to work, then the best bet is email to [mailto:support@lumina.com support@lumina.com]. |
+ | |||
+ | ==See Also== | ||
+ | * [[Using a Solver Add-on Engine]] | ||
+ | * [[OptEngineInfo]] | ||
+ | * [[Installation and licenses]] |
Revision as of 22:04, 17 March 2016
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 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 possibly 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 code>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.
Enable comment auto-refresher