GRBException#
- GRBException#
Gurobi exception object. This is a sub-class of the .NET
Exception
class. A number of useful properties, includingMessage()
andStackTrace()
, are inherited from the parent class. For a list of parent class methods, visit this site.- GRBException GRBException(int errcode)#
Exception constructor that creates a Gurobi exception with the given error code.
- Parameters:
errcode – Error code for exception.
- Returns:
An exception object.
- GRBException GRBException(string errmsg)#
Exception constructor that creates a Gurobi exception with the given message string.
- Parameters:
errmsg – Error message for exception.
- Returns:
An exception object.
- GRBException GRBException(string errmsg, int errcode)#
Exception constructor that creates a Gurobi exception with the given message string and error code.
- Parameters:
errmsg – Error message for exception.
errcode – Error code for exception.
- Returns:
An exception object.
- int ErrorCode#
(Property) The error code associated with a Gurobi exception.