Click or drag to resize

XPRBprobnewCtr(XPRBvar) Method

Create a new, unnamed, XPRBctr constraint in the current problem.

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public XPRBctr newCtr(
	XPRBvar v
)

Parameters

v  XPRBvar
The XPRBvar variable used to create the expression which will form the new constraint.

Return Value

XPRBctr
The new XPRBctr object.
Remarks
Used usually when wanting to set a constraint by the allowed ranges of a defined XPRBvar variable.
Example
xbexpl1i.cs in the User's Guide Examples folder.
See Also