Initializing help system before first use

delTerm Method

This deletes a term in the XPRBctr constraint relating to a specific XPRBvar variable.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 37.1.1.0
Syntax
C#
VB
public int delTerm(
	XPRBvar var
)

Parameters

var
Type:  BCLXPRBvar
The XPRBvar object to remove from the term.

Return Value

Type:  Int32
0 on success.
Examples
XPRBprob prob = new XPRBprob("NewProb"); XPRBvar x; XPRBvar y; x = prob.newVar("x"); y = prob.newVar("y"); XPRBctr ctr = prob.newCtr("Constraint1", 5.0 * x + 20.0 * y); ... int returned = ctr.delTerm(y);
See Also