public class Variable extends Object implements Serializable, Cloneable
Constructor and Description |
---|
Variable(String name,
VarType type,
double lowerBound,
double upperBound) |
Modifier and Type | Method and Description |
---|---|
protected Object |
clone() |
boolean |
equals(Object obj) |
double |
getLowerBound() |
String |
getName() |
VarType |
getType() |
double |
getUpperBound() |
int |
hashCode() |
boolean |
ignore() |
void |
setIgnore(boolean ignore) |
void |
setLowerBound(double d) |
void |
setUpperBound(double d) |
String |
toString() |
String |
toStringPretty() |
Variable |
typedClone() |
public void setLowerBound(double d)
public double getLowerBound()
public String getName()
public VarType getType()
public double getUpperBound()
public void setUpperBound(double d)
public String toStringPretty()
public void setIgnore(boolean ignore)
ignore
- To ignore this variable during MIP solving. Only WDResult
Determination people should be using this right now.public boolean ignore()
protected Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public Variable typedClone()
Copyright © 2017. All rights reserved.