GRBException()


GRBException()

Exception constructor.

GRBException GRBException ( int errcode=0 )

Create a Gurobi exception.

Arguments:

errcode (optional): Error code for exception.

Return value:

An exception object.

GRBException GRBException ( string errmsg,
    int errcode=0 )

Create a Gurobi exception.

Arguments:

errmsg: Error message for exception.

errcode (optional): Error code for exception.

Return value:

An exception object.