operator <=


operator <=

Create an inequality constraint.

GRBTempConstr operator <= ( GRBQuadExpr lhsExpr,
    GRBQuadExpr rhsExpr )

Arguments:

lhsExpr: Left-hand side of inequality constraint.

rhsExpr: Right-hand side of inequality constraint.

Return value:

A constraint of type GRBTempConstr. The result is typically immediately passed to method GRBModel.AddConstr.