GRBException()

Exception constructor.

GRBException GRBException ( int errcode )

    Create a Gurobi exception.

    Arguments:

    errcode: Error code for exception.

    Return value:

    An exception object.

GRBException GRBException ( string errmsg )

    Create a Gurobi exception.

    Arguments:

    errmsg: Error message for exception.

    Return value:

    An exception object.

GRBException GRBException ( string errmsg,
    int errcode )
    Create a Gurobi exception.

    Arguments:

    errmsg: Error message for exception.

    errcode: Error code for exception.

    Return value:

    An exception object.