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 +


GRBQConstr.Set()

Set the value of a quadratic constraint attribute.

void Set ( GRB.CharAttr attr,
    char newvalue )
    Set the value of a char-valued attribute.

    Arguments:

    attr: The attribute being modified.

    newvalue: The desired new value of the attribute.

void Set ( GRB.DoubleAttr attr,
    double newvalue )
    Set the value of a double-valued attribute.

    Arguments:

    attr: The attribute being modified.

    newvalue: The desired new value of the attribute.

void Set ( GRB.StringAttr attr,
    string newvalue )
    Set the value of a string-valued attribute.

    Arguments:

    attr: The attribute being modified.

    newvalue: The desired new value of the attribute.