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

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

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