Initializing help system before first use

getSosByName Method

Retrieve an XPRBsos by name.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 4.8.14.0
Syntax
C#
VB
public XPRBsos getSosByName(
	string name
)

Parameters

name
Type:  SystemString
The special ordered set name.

Return Value

Type:  XPRBsos
The XPRBsos corresponding to the given name, if found.
Examples
XPRBprob prob = new XPRBprob("NewProb"); XPRBvar var = new XPRBvar("Variable"); XPRBvar var2 = new XPRBvar("Variable2"); XPRBvar var3 = new XPRBvar("Variable3"); XPRBsos sos; prob.newSos("Sos1", BCLconstant.XPRB_S1, var + 3.2*var2); prob.newSos("Sos2", BCLconstant.XPRB_S1, 2.0*var2 + 0.9*var3); ... sos = prob.getSosByName("Sos1");
See Also