getctrtyp
| getctrtyp | 
  Purpose
 
  Synopsis
 
int getctrtyp(XPRMlinctr ctr);
 
  Argument
 
| 
     ctr 
     | 
     Reference to a linear constraint
     | 
  Return value
 
 Bit encoded constraint type.
  Further information
 
 This function returns the type and status of the given constraint. The type may be extracted using the macro
 XPRM_GETCTYPE(c). The possible types are:
 
  
   
 The status of the constraint is checked using the macro
 XPRM_CHKCSTAT(c,s) where
 s is one of:
 
  
   
 
| 
      XPRM_CTYPE_UNCONS 
      | |
| 
      XPRM_CTYPE_GEQ 
      | |
| 
      XPRM_CTYPE_LEQ 
      | |
| 
      XPRM_CTYPE_EQ 
      | |
| 
      XPRM_CTYPE_SOS1 
      | |
| 
      XPRM_CTYPE_SOS2 
      | |
| 
      XPRM_CTYPE_CONT 
      | |
| 
      XPRM_CTYPE_INT 
      | |
| 
      XPRM_CTYPE_BIN 
      | |
| 
      XPRM_CTYPE_PINT 
      | |
| 
      XPRM_CTYPE_SEC 
      | |
| 
      XPRM_CTYPE_SINT 
      | |
| 
      XPRM_CTYPE_FREE 
      | 
| 
      XPRM_CSTAT_EMPTY 
      | |
| 
      XPRM_CSTAT_HIDN 
      | |
| 
      XPRM_CSTAT_TEMP 
      | 
 
