net.sourceforge.combean.interfaces.mathprog.lp
Interface LPVariable

Package class diagram package LPVariable
All Superinterfaces:
NamedObject
All Known Implementing Classes:
DoubleLPVariable

public interface LPVariable
extends NamedObject

A variable in an LP, with a coefficient and an interval of admissible values (i.e. a box constraint).


Method Summary
 double getCoeff()
          Get coefficient of the variable.
 double getLowerBound()
          Get lower bound of interval of admissible values for variable.
 double getUpperBound()
          Get upper bound of interval of admissible values for variable.
 
Methods inherited from interface net.sourceforge.combean.interfaces.base.NamedObject
getName
 

Method Detail

getCoeff

double getCoeff()
Get coefficient of the variable.

Returns:
coefficient of the variable.

getLowerBound

double getLowerBound()
Get lower bound of interval of admissible values for variable.

Returns:
lower bound of box constraint.

getUpperBound

double getUpperBound()
Get upper bound of interval of admissible values for variable.

Returns:
upper bound of box constraint.