setTerm Method (Double)
Set the constant term (= RHS value) of a cut. The RHS of the cut is set to the given constant.
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 37.1.1.0

Parameters
- val
-
Type:
SystemDouble
The double value to use as the RHS term.
Return Value
Type: Int320 on success, 1 on failure.

XPRBprob prob = new XPRBprob("NewProb"); XPRBcut cut = new XPRBcut(); XPRBvar var = new XPRBvar("Variable"); cut.assign(2.6*var <= 2.5); ... cut.setTerm(5.2);
