Error Messages/40568
< Error Messages
Revision as of 00:57, 23 January 2010 by AManandhar (talk | contribs) (Created page with '= Error Message Examples = The Gradient is non-numeric. an explicit expression for the Gradient (the first derivative of the objective function) was specified to NlpDefine. W…')
Error Message Examples
The Gradient is non-numeric. an explicit expression for the Gradient (the first derivative of the objective function) was specified to NlpDefine. When that expression was evaluated, the result contained a non-numeric value.
Cause
As the error states, the expression passed as the gradient of the objective function evaluated to a non-numeric value. The gradient parameter passed to the NlpDefine function is an optional parameter that must evaluate to a numeric value and helps the engine solve the problem.
Remedies
Correct the expression passed as the gradient to the objective funtion to the NlpDefine function.
Comments
<comments />
Enable comment auto-refresher