Difference between revisions of "Error Messages/40568"
AManandhar (talk | contribs) m (→Remedies) |
|||
Line 1: | Line 1: | ||
− | + | [[Category: Error messages]] | |
+ | == Error message examples == | ||
+ | |||
+ | <pre style="background:white; border:white; margin-left: 1em; font-style:italic"> | ||
The Gradient is non-numeric. an explicit expression for the Gradient (the first derivative of the | 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 | objective function) was specified to NlpDefine. When that expression was evaluated, the result | ||
contained a non-numeric value. | contained a non-numeric value. | ||
+ | </pre> | ||
− | = Cause = | + | == 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 to the [[NlpDefine]] function. | ||
− | = | + | ==See Also== |
− | + | * [[NlpDefine]] | |
− | + | * [[DefineOptimization]] | |
− | + | * [[Objects and Values]] |
Latest revision as of 01:01, 11 March 2016
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 to the NlpDefine function.
See Also
Comments
Enable comment auto-refresher