Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-273

Basic variable is not found correctly in simplex tableau

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Labels:
      None

      Description

      The last patch to SimplexTableau caused an automated test suite I'm running at work to go down a new code path and uncover what is hopefully the last bug remaining in the Simplex code.
      SimplexTableau was assuming an entry in the tableau had to be nonzero to indicate a basic variable, which is incorrect - the entry should have a value equal to 1.

        Attachments

        1. SimplexSolverTest.patch
          1 kB
          Benjamin McCann
        2. SimplexTableau.patch
          0.9 kB
          Benjamin McCann

          Activity

            People

            • Assignee:
              luc Luc Maisonobe
              Reporter:
              bmccann Benjamin McCann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: