operator /


operator /

Create a new expression by dividing a Gurobi variable by a constant.

GRBLinExpr operator / ( GRBVar var,
    double divisor )

Arguments:

var: Variable argument.

divisor: Divisor for variable argument.

Return value:

A linear expression that is equal to the input variable divided by the input divisor.