|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the API for numerical variables of any type. Objects implementing this interface are used to represent modeling variables in an ILOG Concert Technology application. A modeling variable is characterized by its lower and upper bound as well as by its type. Possible types are:
IloNumVarType.Float
IloNumVarType.Int
IloNumVarType.Bool
IloNumVarType
,
IloIntVar
Method Summary | |
double |
getLB()
Queries the lower bound of the invoking IloNumVar object. |
java.lang.String |
getName()
Returns the name of the invoking variable. |
IloNumVarType |
getType()
Queries the type of the invoking IloNumVar object. |
double |
getUB()
Queries the upper bound of the invoking IloNumVar object. |
void |
setLB(double lb)
Sets the lower bound of the invoking IloNumVar object. |
void |
setName(java.lang.String name)
Sets the name of the invoking variable. |
void |
setUB(double ub)
Sets the upper bound of the invoking IloNumVar object. |
Method Detail |
public IloNumVarType getType() throws IloException
IloNumVar
object.public double getLB() throws IloException
IloNumVar
object.public double getUB() throws IloException
IloNumVar
object.public void setLB(double lb) throws IloException
IloNumVar
object.lb
- The new lower bound of the variable.public void setUB(double ub) throws IloException
IloNumVar
object.ub
- The new upper bound of the variable.public java.lang.String getName()
public void setName(java.lang.String name)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |