getCoefficient Method (XPRBvar)
Get the coefficient of a linear constraint term.
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 4.8.14.0


XPRBprob expl2; XPRBctr ctr1; XPRBvar x1; double val; expl2 = new XPRBprob("example2"); x1 = expl2.newVar("abc3", BCLconstant.XPRB_UI, 1, 100); ctr1 = expl2.newCtr("r1"); ctr1.setTerm(x1, 5.4); val = ctr1.getCoefficient(x1);
