Class DenseTableau

    • Field Detail

      • myAuxiliaryRow

        private double[] myAuxiliaryRow
      • myColDim

        private final int myColDim
      • myTableau

        private final double[][] myTableau
    • Constructor Detail

      • DenseTableau

        DenseTableau​(int mm,
                     int nn)
    • Method Detail

      • doubleValue

        public double doubleValue​(int row,
                                  int col)
        Description copied from interface: Access2D
        Extracts one element of this matrix as a double.
        Parameters:
        row - A row index.
        col - A column index.
        Returns:
        One matrix element
      • getColDim

        public int getColDim()
        Returns:
        The number of columns
      • getRowDim

        public int getRowDim()
        Returns:
        The number of rows
      • set

        public void set​(int row,
                        int col,
                        double value)
      • doPivot

        private void doPivot​(int row,
                             int col,
                             double[] pivotRow)
      • scale

        private void scale​(double[] body,
                           int col)
      • doPivot

        protected void doPivot​(int row,
                               int col)
        Description copied from class: SimplexTableau
        Perform the pivot operation on the tableau – only. Various auxiliary bookkeeping should NOT be done here.
        Specified by:
        doPivot in class SimplexTableau
      • shiftColumn

        protected void shiftColumn​(int col,
                                   double shift)
        Overrides:
        shiftColumn in class SimplexStore
      • getValue

        double getValue()
        Specified by:
        getValue in class SimplexTableau
        Returns:
        The (phase 2) objective function value