Error Messages/40568

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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.


Loading comments...
Comments
<comments />