GRBLinExpr.addTerm()


GRBLinExpr.addTerm()

Add a single term into a linear expression.

void addTerm ( double coeff,
    GRBVar var )

Arguments:

coeff: Coefficient for new term.

var: Variable for new term.