Difference between revisions of "Error Messages/40583"

(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:
= Error Message Examples  =
+
[[Category: Error messages]]
  
  The optimizer parameter name 'badparameter' is not found in the engine parameter collection.  Use SolveInfo( "Settings", lp) to examine  possible parameters that may be set.
+
== Error message examples ==
  
= Cause =
+
<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>
  
You have passed an unrecognized parameter to the '''Parameter''' parameter to an optimization function (E.g. [[LpDefine]], [[QpDefine]] or [[NlpDefine]]).
+
== Cause  ==
  
You can use the [[SolverInfo]] function to display all the settings that can be tweaked for an engine and also the valid ranges for the settings. The following code displays all the settings and the range for the Linear and Quadratic engines. <br>
+
You have passed an unrecognized parameter to the «Parameter» parameter to an optimization function (E.g. [[LpDefine]], [[QpDefine]] or [[NlpDefine]]).
<code>Solverinfo(item: ['Settingnames', 'Minsetting', 'Maxsetting'], engine: 'LP/Quadratic')]</code>
 
  
= 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.
  
<br> <comments />
+
==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


You are not allowed to post comments.