GRBGenConstr.set()


GRBGenConstr.set()

Set the value of a general constraint attribute.

void set ( GRB.DoubleAttr attr,
    double newval )

Set the value of a double-valued attribute.

Arguments:

attr: The attribute being modified.

newval: The desired new value of the attribute.

void set ( GRB.IntAttr attr,
    int newval )

Set the value of an int-valued attribute.

Arguments:

attr: The attribute being modified.

newval: The desired new value of the attribute.

void set ( GRB.StringAttr attr,
    String newval )

Set the value of a string-valued attribute.

Arguments:

attr: The attribute being modified.

newval: The desired new value of the attribute.