settype
PurposeSet the type of a general constraintSynopsisprocedure settype(c:genctr, type:integer)
Arguments
c a general constraint type the type of the constraint. This will be one of:
- XPRM_CTYPE_LEQ
- XPRM_CTYPE_EQ
- =
- XPRM_CTYPE_GEQ
- XPRM_CTYPE_UNCONS
- not constraining or not defined
ExampleThe following example sets the genctr area(i) to be of type "less than or equal to".settype(area(i),XPRM_CTYPE_LEQ)Related topics
If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.