Cookie Settings

Try our new documentation site (beta).

Filter Content By
Version
Table of contents
Filter by Language
C API Details
C++ API Details
GRBModel +
Java API Details
GRBModel +
.NET API Details
GRBModel +
Python API Details
Model +
Attributes
Parameters
Parameter Descriptions +


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.