public class CLPVariable
extends java.lang.Object
CLP
model.Modifier and Type | Method and Description |
---|---|
CLPVariable |
bounds(double lb,
double ub)
Set variable bounds.
|
CLPVariable |
free()
Defines this vaiable as free, -inf <= x <= inf.
|
double |
getSolution() |
CLPVariable |
lb(double value)
Set lower bound.
|
CLPVariable |
name(java.lang.String name)
Variable name
|
CLPVariable |
obj(double value)
Objective coefficient of this variable.
|
java.lang.String |
toString() |
CLPVariable |
ub(double value)
Set upper bound.
|
public CLPVariable name(java.lang.String name)
name
- public CLPVariable obj(double value)
value
- public CLPVariable bounds(double lb, double ub)
lb
- ub
- public CLPVariable lb(double value)
lb
- ub
- public CLPVariable ub(double value)
lb
- ub
- public CLPVariable free()
public double getSolution()
public java.lang.String toString()
toString
in class java.lang.Object