setIndicator Method (Int32, XPRBvar)
  Set the indicator constraint type. 
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 4.8.14.0
 Syntax
Syntax
Parameters
- 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.
 
- var
- 
   Type: 
   BCLXPRBvar
   
   
 A previously created binary variable.
Return Value
Type: Int320 on success, 1 on error.
 See Also
See Also
 
