settype


Purpose
Set the type of a general constraint
Synopsis
procedure settype(c:genctr, type:integer)
Arguments
a general constraint
type 
the type of the constraint. This will be one of:
XPRM_CTYPE_LEQ
Maths/leq.png
XPRM_CTYPE_EQ
=
XPRM_CTYPE_GEQ
Maths/geq.png
XPRM_CTYPE_UNCONS
not constraining or not defined
Example
The following example sets the genctr area(i) to be of type "less than or equal to".
settype(area(i),XPRM_CTYPE_LEQ)
Related topics
gettype


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.