Interface SimplexPivoting

  • All Known Implementing Classes:
    NaiveRule, SmallestSubscriptRule

    public interface SimplexPivoting
    A simplex pivoting finds a row and column to exchange to reduce the cost function.
    • Method Detail

      • pricing

        int pricing​(SimplexTable table)
        This is pivot column selection (pricing) rule.
        Parameters:
        table - a simplex table
        Returns:
        the pivot column
      • ratioTest

        int ratioTest​(SimplexTable table,
                      int s)
        This is pivot row selection (Ratio test) rule.
        Parameters:
        table - a simplex table
        s - a column index
        Returns:
        the pivot row