Set the value of a model attribute. Note that attribute changes are handled in a lazy fashion. The effect of a change isn't visible until the next call to Model.update or Model.optimize.
The full list of available attributes can be found in the Attributes section.
Arguments:
attrname: Name of attribute to set.
newvalue: Desired new value of attribute.
Example usage:
model.setAttr("objCon", 0) model.setAttr(GRB.attr.objCon, 0) model.objcon = 0