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.