public class CmplSolElement
extends java.lang.Object
Constructor and Description |
---|
CmplSolElement()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
activity()
Activity of the variable or constraint
|
int |
idx()
Index of the variable or constraint
|
double |
lowerBound()
Lower bound of the variable or constraint
|
double |
marginal()
Marginal value (shadow prices or reduced costs) bound of the variable or constraint
|
java.lang.String |
name()
Name of the variable or constraint
|
protected void |
setActivity(java.lang.Object _activity)
Setter of the activity of variable or constraint
Used by CmplSolutions
|
protected void |
setIdx(int _idx)
Setter of the index of variable or constraint
Used by CmplSolutions
|
protected void |
setLowerBound(double _lowerBound)
Setter of the lowerBound of variable or constraint
Used by CmplSolutions
|
protected void |
setMarginal(double _marginal)
Setter of the marginal of variable or constraint
Used by CmplSolutions
|
protected void |
setName(java.lang.String _name)
Setter of the name of variable or constraint
Used by CmplSolutions
|
protected void |
setType(java.lang.String _type)
Setter of the type of variable or constraint
Used by CmplSolutions
|
protected void |
setUpperBound(double _upperBound)
Setter of the upperBound of variable or constraint
Used by CmplSolutions
|
java.lang.String |
type()
Type of the variable or constraint
C|I|B for variables
L|E|G for constraints
|
double |
upperBound()
Upper bound of the variable or constraint
|
public int idx()
protected void setIdx(int _idx)
_idx
- Indexpublic java.lang.String name()
protected void setName(java.lang.String _name)
_name
- name of variable or constraintpublic java.lang.String type()
protected void setType(java.lang.String _type)
_type
- type of variable or constraintpublic java.lang.Object activity()
protected void setActivity(java.lang.Object _activity)
_activity
- activity of variable or constraintpublic double lowerBound()
protected void setLowerBound(double _lowerBound)
_lowerBound
- lowerBound of variable or constraintpublic double upperBound()
protected void setUpperBound(double _upperBound)
_upperBound
- upperBound of variable or constraintpublic double marginal()
protected void setMarginal(double _marginal)
_marginal
- ymarginal of variable or constraint