Difference between revisions of "Error Messages/40593"

(Created page with '= Error Message Examples = The constraint left-hand side is indexed by IND. The lhs should evaluate to a single number since there is only one constraint and no constraint ind…')
 
Line 5: Line 5:
 
= Cause  =
 
= Cause  =
  
Lhs passed to the [[NlpDefine]] function is indexed and not scalar, but no constraint indec is passed to the function. If there are more than one constraint, a constraint index must be passed, and lhs, rhs and sense must be indexed by the constraint index.
+
Lhs passed to the [[NlpDefine]] function is indexed and not scalar, but no constraint index is passed to the function. If there are more than one constraint, a constraint index must be passed, and lhs, rhs and sense must be indexed by the constraint index.
 
 
  
 
= Remedies  =
 
= Remedies  =

Revision as of 22:27, 20 January 2010

Error Message Examples

The constraint left-hand side is indexed by IND. The lhs should evaluate to a single number since there is only one constraint and no constraint index was specified in NlpDefine. The non-linear optimizer does not automatically array abstract over extra dimensions in lhs.

Cause

Lhs passed to the NlpDefine function is indexed and not scalar, but no constraint index is passed to the function. If there are more than one constraint, a constraint index must be passed, and lhs, rhs and sense must be indexed by the constraint index.

Remedies

If a non linear optimization problem has more than one constraint, then you should pass in a constraint index that indexes lhs, rhs and sense.

Else, lhs passed to the function must evaluate to a scalar.



You are not allowed to post comments.

Comments
<comments />