|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgurobi.GRBGenConstr
public class GRBGenConstr
Gurobi general constraint object. General constraints are always associated with a particular model. You create a general constraint object by adding a general constraint to a model (using one of the
Method Summary | |
---|---|
protected void |
finalize()
|
double |
get(GRB.DoubleAttr attr)
Query the value of a double-valued attribute. |
int |
get(GRB.IntAttr attr)
Query the value of an int-valued attribute. |
java.lang.String |
get(GRB.StringAttr attr)
Query the value of a string-valued attribute. |
void |
set(GRB.DoubleAttr attr,
double newval)
|
void |
set(GRB.IntAttr attr,
int newval)
|
void |
set(GRB.StringAttr attr,
java.lang.String newval)
Set the value of a string-valued attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected void finalize()
finalize
in class java.lang.Object
public int get(GRB.IntAttr attr) throws GRBException
attr
- The attribute being queried.
GRBException
public double get(GRB.DoubleAttr attr) throws GRBException
attr
- The attribute being queried.
GRBException
public java.lang.String get(GRB.StringAttr attr) throws GRBException
attr
- The attribute being queried.
GRBException
public void set(GRB.IntAttr attr, int newval) throws GRBException
GRBException
public void set(GRB.DoubleAttr attr, double newval) throws GRBException
GRBException
public void set(GRB.StringAttr attr, java.lang.String newval) throws GRBException
attr
- The attribute being modified.newval
- The desired new value of the attribute.
GRBException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |