Negates the XPRB expression.
Namespace: BCLAssembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
SyntaxPublic Function neg As XPRBexpr
Return Value
XPRBexprThe negated XPRBexpr expression.
ExampleXPRBprob prob = new XPRBprob("NewProb");
XPRBvar var = new XPRBvar("Variable");
XPRBexpr exp = new XPRBexpr(4.2*var + 3.6);
...
exp = exp.neg();
See Also