getType Method
Return the type of the XPRBrelation.
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 37.1.1.0

Return Value
Type: Int32The relation type. Possible values:
- BCLconstant.XPRB_N - Not equal.
- BCLconstant.XPRB_L - Less than or equal to.
- BCLconstant.XPRB_G - Greater than or equal to.
- BCLconstant.XPRB_E - Equal to.
- BCLconstant.XPRB_R - Ranged answer.

XPRBprob prob = new XPRBprob("NewProb"); XPRBvar var = new XPRBvar("Variable"); XPRBrelation rel = new XPRBrelation(2.3*var - 6.9, BCLconstant.XPRB_N); ... if(rel.getType() == BCLconstant.XPRB_N) System.Console.Writeln("This is non-constrained.");
