jCMPL
Class CmplSolElement

java.lang.Object
  extended by jCMPL.CmplSolElement

public class CmplSolElement
extends java.lang.Object

CmplSolutionElement - Class for a variable or constraint


Constructor Summary
CmplSolElement()
          Constructor
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmplSolElement

public CmplSolElement()
Constructor

Method Detail

idx

public int idx()
Index of the variable or constraint

Returns:
Index of the variable or constraint

setIdx

protected void setIdx(int _idx)
Setter of the index of variable or constraint Used by CmplSolutions

Parameters:
_idx - Index

name

public java.lang.String name()
Name of the variable or constraint

Returns:
Name of the variable or constraint

setName

protected void setName(java.lang.String _name)
Setter of the name of variable or constraint Used by CmplSolutions

Parameters:
_name - name of variable or constraint

type

public java.lang.String type()
Type of the variable or constraint C|I|B for variables L|E|G for constraints

Returns:
Type of the variable or constraint

setType

protected void setType(java.lang.String _type)
Setter of the type of variable or constraint Used by CmplSolutions

Parameters:
_type - type of variable or constraint

activity

public java.lang.Object activity()
Activity of the variable or constraint

Returns:
Activity of the variable or constraint

setActivity

protected void setActivity(java.lang.Object _activity)
Setter of the activity of variable or constraint Used by CmplSolutions

Parameters:
_activity - activity of variable or constraint

lowerBound

public double lowerBound()
Lower bound of the variable or constraint

Returns:
Lower bound of the variable or constraint

setLowerBound

protected void setLowerBound(double _lowerBound)
Setter of the lowerBound of variable or constraint Used by CmplSolutions

Parameters:
_lowerBound - lowerBound of variable or constraint

upperBound

public double upperBound()
Upper bound of the variable or constraint

Returns:
Upper bound of the variable or constraint

setUpperBound

protected void setUpperBound(double _upperBound)
Setter of the upperBound of variable or constraint Used by CmplSolutions

Parameters:
_upperBound - upperBound of variable or constraint

marginal

public double marginal()
Marginal value (shadow prices or reduced costs) bound of the variable or constraint

Returns:
Marginal value of the variable or constraint

setMarginal

protected void setMarginal(double _marginal)
Setter of the marginal of variable or constraint Used by CmplSolutions

Parameters:
_marginal - ymarginal of variable or constraint