Difference between revisions of "Error Messages/40583"

 
Line 1: Line 1:
= Error Message Examples  =
+
[[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.  
 
  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.
+
  Use SolverInfo("Settings", lp) to examine  possible parameters that may be set.
 +
</pre>
 +
 
 +
== Cause  ==
  
= Cause  =
+
You have passed an unrecognized parameter to the «Parameter» parameter to an optimization function (E.g. [[LpDefine]], [[QpDefine]] or [[NlpDefine]]).
  
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.  
  
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. <br>
+
:<code>Solverinfo(item: ['Settingnames',  'Minsetting', 'Maxsetting'], engine: 'LP/Quadratic')]</code>
<code>Solverinfo(item: ['Settingnames',  'Minsetting', 'Maxsetting'], engine: 'LP/Quadratic')]</code>
 
  
= Remedies  =
+
== 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.