Set the cut row type. This method changes the type of a previously defined cut to inequality or equation.
Namespace: BCLAssembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntaxpublic int setType(
int type
)
Public Function setType (
type As Integer
) As Integer
Parameters
- type Int32
- The type to set the XPRBcut relation to. Possible values:
- BCLconstant.XPRB_L – Less than or equal to (inequality).
- BCLconstant.XPRB_G – Greater than or equal to (inequality).
- BCLconstant.XPRB_E – Equal to (equation).
Return Value
Int320 on success, 1 on failure.
ExampleXPRBprob prob = new XPRBprob("NewProb");
XPRBcut cut = new XPRBcut();
...
cut.setType(BCLconstant.XPRB_G);
See Also