setIndicator Method (XPRBvar, Int32)
  Set the indicator constraint type. 
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 37.1.1.0
Parameters
- var
 - 
   Type: 
   BCLXPRBvar
   
   
A previously created binary variable. - dir
 - 
   Type: 
   SystemInt32
   
Constraint type:- -1 - -1 for an indicator constraint with condition b=0.
 - 0 - 0 for an ordinary constraint.
 - 1 - 1 for an indicator constraint with condition b=1.
 
 
Return Value
Type: Int320 on success, 1 on error.
