Difference between revisions of "Error Messages/41316"
Line 7: | Line 7: | ||
Constraints must be of the form expr <= x, expr >= x, or expr = x, and may optionally contain a dimensionality | Constraints must be of the form expr <= x, expr >= x, or expr = x, and may optionally contain a dimensionality | ||
specification such as 'span J, K expr <= x' (indicating that you are specifying an array of constraints | specification such as 'span J, K expr <= x' (indicating that you are specifying an array of constraints | ||
− | over those indexes). | + | over those indexes). If the parameter value identifies a constraint object, then the definition of that object |
needs to have this form, or if you specify a user-defined function the UDF's definition must have this form. | needs to have this form, or if you specify a user-defined function the UDF's definition must have this form. | ||
</pre> | </pre> |
Latest revision as of 01:08, 12 March 2016
Error message
The %1% constraint, %2%, passed to the «constraints» parameter of DefineOptimization() is not valid. Constraints must be of the form expr <= x, expr >= x, or expr = x, and may optionally contain a dimensionality specification such as 'span J, K expr <= x' (indicating that you are specifying an array of constraints over those indexes). If the parameter value identifies a constraint object, then the definition of that object needs to have this form, or if you specify a user-defined function the UDF's definition must have this form.
See Also
Comments
Enable comment auto-refresher