Documentation

GRBLinExpr::clear()


GRBLinExpr::clear()

Set a linear expression to 0.

You should use the overloaded expr = 0 instead. The clear method is mainly included for consistency with our interfaces to non-overloaded languages.

void clear ( )