Initializing help system before first use

addTerm Method (Double)

Add a new numeric term to the current XPRBcut.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 37.1.1.0
Syntax
C#
VB
public int addTerm(
	double val
)

Parameters

val
Type:  SystemDouble
The double value to use as the new term.

Return Value

Type:  Int32
0 on success, 1 on failure.
Examples
XPRBprob prob = new XPRBprob("NewProb"); XPRBcut cut = new XPRBcut(); XPRBvar var = new XPRBvar("Variable"); cut.assign(2.6*var <= 2.5); ... cut.addTerm(0.1);
See Also