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 )

    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.