addElement Method (XPRBvar, Double)
Add an element to the XPRBsos.
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 4.8.14.0

Parameters
- var
-
Type:
BCLXPRBvar
The XPRBvar which forms one part of the element. - val
-
Type:
SystemDouble
The double coefficient of the new element.
Return Value
Type: Int320 on success.

XPRBprob prob = new XPRBprob("NewProb"); XPRBsos sos = new XPRBsos(); XPRBvar var = new XPRBvar("Variable"); ... sos.addElement(var, 3.14);
