public interface Variable
Modifier and Type | Interface | Description |
---|---|---|
static class |
Variable.TYPE_VAR |
Defines the type of variable: integer, binary, or real.
|
Modifier and Type | Method | Description |
---|---|---|
double |
getLower() |
Retrieves its lower bound.
|
java.lang.String |
getName() |
Retrieves the name of the variable.
|
Variable.TYPE_VAR |
getType() |
Retrieves the type of variable (integer, binary, real).
|
double |
getUpper() |
Retrieves its upper bound if set (by default it is + ∞)
|
double |
getValue() |
Retrieves the optimal value assumed by the variable within the determined optimal solution.
|
boolean |
isFree() |
Retrieves true if the variable is free.
|
java.lang.String getName()
Variable.TYPE_VAR getType()
double getUpper()
double getLower()
boolean isFree()
double getValue()