Click or drag to resize

XPRBprobnewSol Method

Create a new solution object for this problem.

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public XPRBsol newSol()

Return Value

XPRBsol
A new solution
Example
C#
XPRBprob expl2;
XPRBvar x;
XPRBsol sol1;
expl2 = new XPRBprob("example2");
x = expl2.newVar("x");
sol1 = expl2.newSol();
sol1.addVar( x, 1.0 );
See Also