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

BOBYQAOptimizerTest has two failing tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2
    • 3.3
    • None
    • None
    • Mac OS X 10.9 and also Linux 3.4 kernel; Java 7; Maven 3.1.1

    Description

      I see two test failures, in both the copies of BOBYQAOptimizerTest:

      Failed tests: 
        BOBYQAOptimizerTest.testAckley:209->doTest:282->doTest:338 expected:<0.0> but was:<1.047765607609108E-8>
        BOBYQAOptimizerTest.testAckley:208->doTest:281->doTest:336 expected:<0.0> but was:<1.047765607609108E-8>
      
      Tests in error: 
        BOBYQAOptimizerTest.testDiffPow:187->doTest:282->doTest:322 » TooManyEvaluations
        BOBYQAOptimizerTest.testDiffPow:186->doTest:281->doTest:326 » TooManyEvaluations
      

      (This predated the patches I've worked on so I don't think it's me!)

      I tried on Mac OS X and Linux and see the same, so don't think it is an environment issue. I'll see if a little digging can uncover the issue from a recent commit.

      Attachments

        1. MATH-1057.patch
          59 kB
          Sean R. Owen

        Issue Links

          Activity

            People

              Unassigned Unassigned
              srowen Sean R. Owen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: