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 +


GRBQuadExpr.getVar2()

Retrieve the second variable object associated with a single quadratic term from the expression.

GRBVar getVar2 ( int i )

    Arguments:

    i: Index for term of interest.

    Return value:

    Second variable for the quadratic term at index i in the quadratic expression.