GRBException::getMessage()

Retrieve the error message associated with a Gurobi exception.

const string getMessage ( )

Return value:

The error message associated with the exception.