Initializing help system before first use

addTerm Method (XPRBvar, Double)

This adds a term to the XPRBctr constraint. The term can be constructed from an XPRBvar object, a double or a combination of the two.

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

Parameters

var
Type:  BCLXPRBvar
The XPRBvar object which makes up one part of the term.
val
Type:  SystemDouble
The double which makes up the second part of the term.

Return Value

Type:  Int32
0 on success.
Examples
xbexpl.cs in the Introductory Examples folder and foliolp.cs in the User's Guide Examples folder.
See Also