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…')
 
m
Line 6: Line 6:
 
= Cause  =
 
= Cause  =
  
You have passed an unrecognized parameter to the '''Parameter''' parameter to an optimization function (E.g. [[LpDefine]], [[QpDefine]] or [[NlpDefine]]).
+
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 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 />
 
<br> <comments />

Revision as of 00:38, 23 January 2010

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.



You are not allowed to post comments.

Comments
<comments />