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

BracketingNthOrderBrentSolver exceeds maxIterationCount while updating always the same boundary

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0
    • 3.0
    • None
    • None

    Description

      In some cases, the aging feature in BracketingNthOrderBrentSolver fails.
      It attempts to balance the bracketing points by targeting a non-zero value instead of the real root. However, the chosen target is too close too zero, and the inverse polynomial approximation is always on the same side, thus always updates the same bracket.
      In the real used case for a large program, I had a bracket point xA = 12500.0, yA = 3.7e-16, agingA = 0, which is the (really good) estimate of the zero on one side of the root and xB = 12500.03, yB = -7.0e-5, agingB = 97. This shows that the bracketing interval is completely unbalanced, and we never succeed to rebalance it as we always updates (xA, yA) and never updates (xB, yB).

      Attachments

        Activity

          People

            luc Luc Maisonobe
            pparraud Pascal Parraud
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: