Difference between revisions of "Error Messages/40583"
AManandhar (talk | contribs) (Created page with '= Error Message Examples = The optimizer parameter name 'badparameter' is not found in the engine parameter collection. Use SolveInfo( "Settings", lp) to examine possible pa…') |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | [[Category: Error messages]] | |
− | + | == Error message examples == | |
− | = | + | <pre style="background:white; border:white; margin-left: 1em; font-style:italic"> |
+ | The optimizer parameter name 'badparameter' is not found in the engine parameter collection. | ||
+ | Use SolverInfo("Settings", lp) to examine possible parameters that may be set. | ||
+ | </pre> | ||
− | + | == Cause == | |
− | You | + | You have passed an unrecognized parameter to the «Parameter» parameter to an optimization function (E.g. [[LpDefine]], [[QpDefine]] or [[NlpDefine]]). |
− | |||
− | = Remedies = | + | You can use the [[SolverInfo]] function to display all the «Parameter» that can be tweaked for an engine and also the valid ranges for the parameters. The following code displays all the settings and the range for the Linear and Quadratic engines. |
+ | |||
+ | :<code>Solverinfo(item: ['Settingnames', 'Minsetting', 'Maxsetting'], engine: 'LP/Quadratic')]</code> | ||
+ | |||
+ | == Remedies == | ||
Correct the parameter passed to the optimizer function to a valid parameter. | Correct the parameter passed to the optimizer function to a valid parameter. | ||
− | + | ==See Also== | |
+ | * [[Function calls and parameters]] | ||
+ | * [[SolverInfo]] | ||
+ | * [[LpDefine]] | ||
+ | * [[QpDefine]] | ||
+ | * [[NlpDefine]] | ||
+ | * [[DefineOptimization]] |
Latest revision as of 22:31, 30 March 2016
Error message examples
The optimizer parameter name 'badparameter' is not found in the engine parameter collection. Use SolverInfo("Settings", lp) to examine possible parameters that may be set.
Cause
You have passed an unrecognized parameter to the «Parameter» parameter to an optimization function (E.g. LpDefine, QpDefine or NlpDefine).
You can use the SolverInfo function to display all the «Parameter» that can be tweaked for an engine and also the valid ranges for the parameters. The following code displays all the settings and the range for the Linear and Quadratic engines.
Solverinfo(item: ['Settingnames', 'Minsetting', 'Maxsetting'], engine: 'LP/Quadratic')]
Remedies
Correct the parameter passed to the optimizer function to a valid parameter.
See Also
Comments
Enable comment auto-refresher