operator ==


operator ==

Create an equality constraint.

GRBTempConstr operator == ( GRBLinExpr lhsExpr,
    GRBLinExpr rhsExpr )

Arguments:

lhsExpr: Left-hand side of equality constraint.

rhsExpr: Right-hand side of equality constraint.

Return value:

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