Catalano.Math.Optimization
Class Tableau
- java.lang.Object
-
- Catalano.Math.Optimization.Tableau
-
public class Tableau extends java.lang.ObjectTableau Standard Form for Simplex.
-
-
Constructor Summary
Constructors Constructor and Description Tableau(double[][] tableau, double[] coefVars, int[] basis)Initialize a new instance of the Tableau class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int[]getBasis()Get Basis.double[]getCoefVars()Get the coefficients from original variables.double[][]getTableau()Get the tableau.voidsetCoefVars(double[] coefVars)Set the coefficients of the variables.voidsetTableau(double[][] tableau)Set the tableau.
-
-
-
Constructor Detail
-
Tableau
public Tableau(double[][] tableau, double[] coefVars, int[] basis)Initialize a new instance of the Tableau class.- Parameters:
tableau- Tableau.coefVars- Coefficients.basis- Basis.
-
-
Method Detail
-
getBasis
public int[] getBasis()
Get Basis.- Returns:
- Basis.
-
getTableau
public double[][] getTableau()
Get the tableau.- Returns:
- Tableau.
-
setTableau
public void setTableau(double[][] tableau)
Set the tableau.- Parameters:
tableau- Tableau.
-
getCoefVars
public double[] getCoefVars()
Get the coefficients from original variables.- Returns:
- Coefficients from the original variables.
-
setCoefVars
public void setCoefVars(double[] coefVars)
Set the coefficients of the variables.- Parameters:
coefVars- Coefficents.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG