Initializing help system before first use

settype

settype


Purpose
Set the type of a constraint.
Synopsis
procedure settype(c:linctr, type:integer)
Arguments
A linear constraint
type 
Constraint type
Further information
The type ( type) of a linear constraint may be set to one of:
CT_EQ 
Equality, `='
CT_GEQ 
Greater than or equal to, `≥'
CT_LEQ 
Less than or equal to, `≤'
CT_UNB 
Non-binding constraint
CT_SOS1 
Special ordered set of type 1
CT_SOS2 
Special ordered set of type 2
Values applicable for unary constraints only are:
CT_CONT 
Continuous
CT_INT 
Integer
CT_BIN 
Binary
CT_PINT 
Partial integer
CT_SEC 
Semi-continuous
CT_SINT 
Semi-continuous integer
CT_FREE 
Free

Related topics