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
|
© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation ("FICO"). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.
