GRBGenConstr.Set()


GRBGenConstr.Set()

Set the value of a general constraint attribute.

void Set ( GRB.DoubleAttr attr,
    string 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.IntAttr attr,
    string newvalue )

Set the value of an int-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.