Error Messages/40325

< Error Messages
Revision as of 00:31, 15 January 2010 by Lchrisman (talk | contribs) (Created page with '= Example Error Text = :The value, 510, given in the second parameter to LpObjSa was not found in the index ''DecVars''. The value should identify a linear program variable.…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Example Error Text

The value, 510, given in the second parameter to LpObjSa was not found in the index DecVars. The value should identify a linear program variable.

Cause

The second parameter to LpObjSa should only be specified when using structured optimization. If you are using Analytica Optimizer 4.2 or earlier, you should never specify the second parameter to LpObjSa. Likewise if your optimization problem was formulated using any of the functions LpDefine, QpDefine or NlpDefine. In any of those cases, remove the second parameter from your call to LpObjSa.

If you have used OptDefine to define a structured optimization problem, then this error occurs when the second parameter to LpObjSa is not one of your decision variables. The parameter passed must be the identifier of variable listed in the «decisions» parameter of OptDefine.

See Also

Comments


You are not allowed to post comments.