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

Fixed seed hides sensitivity of a unit test.

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.6.1
    • Fix Version/s: 4.X
    • Labels:
      None

      Description

      In the tests suite originally provided to exercise BOBYQAOptimizer, a line seems intended to ensure some kind of robustness of the optimizer. However, changing the seed value can make the corresponding unit test fail.
      This is even more blatant for this test of MultiDirectionalSimplex where the number of evaluations required to reach the solution heavily depends on the seed value (from the order of a thousand up to several tens of millions).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              erans Gilles Sadowski
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: