Difference between revisions of "Error Messages/40574"

(Created page with '= Error Message Examples = The lhs expression specified in NlpDefine returned a non-numeric value when evaluated during the optimization. = Cause = You have passed an unre…')
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
= Error Message Examples  =
+
[[Category: Error messages]]
  
  The lhs expression specified in NlpDefine returned a non-numeric value when evaluated
+
== Error message examples  ==
 +
 
 +
<pre style="background:white; border:white; margin-left: 1em; font-style:italic">
 +
  The «lhs» expression specified in NlpDefine returned a non-numeric value when evaluated
 
  during the optimization.
 
  during the optimization.
 +
</pre>
  
= Cause  =
+
== Cause  ==
 
+
As stated in the error, the «lhs» parameter passed to a [[NlpDefine]] function needs to evaluate to a numeric value, but did not evaluate to one.
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. <br>
 
<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 «lhs» parameter passed to the [[NlpDefine]] function to resolve this problem.
  
<br> <comments />
+
==See Also==
 +
* [[NlpDefine]]
 +
* [[DefineOptimization]]
 +
* [[Objects and Values]]

Latest revision as of 23:44, 11 March 2016


Error message examples

 The «lhs» expression specified in NlpDefine returned a non-numeric value when evaluated
 during the optimization.

Cause

As stated in the error, the «lhs» parameter passed to a NlpDefine function needs to evaluate to a numeric value, but did not evaluate to one.


Remedies

Correct the «lhs» parameter passed to the NlpDefine function to resolve this problem.

See Also

Comments


You are not allowed to post comments.