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

"inputSigma" specification in "CMAESOptimizer"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0
    • 4.0
    • None
    • None

    Description

      The interface to the CM optimizers was designed to allow multiple "optimize" calls to the same optimizer with

      • different functions (even with a different number of parameters),
      • different start points,
      • different boundaries.

      "inputSigma" however depends on the number of parameters, and possibly on the start point and on the values of the upper and lower bounds. Specifying it at construction is slightly inconsistent with the intent of the API.

      One workaround is to have a separate accessor:

      public void setSigma(double[] sigma)
      

      Attachments

        Issue Links

          Activity

            People

              erans Gilles Sadowski
              erans Gilles Sadowski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: