Package org.drip.optimization.lp
Class SimplexTableau
java.lang.Object
org.drip.optimization.lp.SimplexTableau
public class SimplexTableau
extends java.lang.Object
SimplexTableau holds the Canonical Simplex Tableau. The References are:
- Nering, E. D., and A. W. Tucker (1993): Linear Programs and Related Problems Academic Press
- Murty, K. G. (1983): Linear Programming John Wiley and Sons New York
- Padberg, M. W. (1999): Linear Optimization and Extensions 2nd Edition Springer-Verlag
- van der Bei, R. J. (2008): Linear Programming: Foundations and Extensions 3rd Edition International Series in Operations Research and Management Science 114 Springer-Verlag
- Wikipedia (2020): Simplex Algorithm https://en.wikipedia.org/wiki/Simplex_algorithm
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description SimplexTableau()
-
Method Summary
Modifier and Type Method Description boolean
addConstraintRow(double[] constraintRow)
Add a Constraint Rowjava.util.List<double[]>
constraintRowList()
Retrieve the Constraint Row Listint
variableCount()
Retrieve the Variable Countjava.util.Set<java.lang.String>
variableSet()
Retrieve the Variable SetMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SimplexTableau
public SimplexTableau()
-
-
Method Details
-
variableSet
public java.util.Set<java.lang.String> variableSet()Retrieve the Variable Set- Returns:
- The Variable Set
-
constraintRowList
public java.util.List<double[]> constraintRowList()Retrieve the Constraint Row List- Returns:
- The Constraint Row List
-
variableCount
public int variableCount()Retrieve the Variable Count- Returns:
- The Variable Count
-
addConstraintRow
public boolean addConstraintRow(double[] constraintRow)Add a Constraint Row- Parameters:
constraintRow
- The Constraint Row- Returns:
- TRUE - The Constraint Row successfully added
-