Skip to content

Releases: CMA-ES/pycma

r4.4.2

24 Jan 00:08

Choose a tag to compare

Release 4.4.2

  • Fix compatibility issues (with comocma):
    • add back the (deprecated) cma.constraints_handling.BoundTransform class
      which was missing since 4.1.0, however, cma.BoundTransform is the
      recommended way to access this class
    • remove dependency of OOOptimizer.optimize on self.result
  • fix issue 337 where plotting bails
    with some recent version of matplotlib>3.8.0.
  • Various improvements of the logger and plotting.
  • Remove default f-offset from binary test functions
    (cma.fitness_functions.binary_foffset = 0 by default now)
  • A few new module settings to (better) control corner case behavior.

r4.4.1

29 Nov 21:28

Choose a tag to compare

  • Release 4.4.1
    • fmin2 accepts a constraints function as constraints keyword argument
    • an improved CMAEvolutionStrategyResult2 class which also contains the best feasible solution
    • a reset_options method which also clears the current termination status
    • polish the output of .optimize() and of .result_pretty()
    • catch final .stop() value displayed with cma.plot

r4.4.0

20 Sep 20:47

Choose a tag to compare

Release 4.4.0

  • constraints handling is available also in the ask-and-tell interface (addressing issues #258, #287, and #167)
  • ask can ignore_integer_variables to not mutate integer variables
  • an on/off switch for integer centering, cma.integer_centering.centering_on (by default True)
  • polishing and minor bug fixes
  • code internal:
    • move integer rounding code (applied to delivered solutions) to the cma.transformations.RoundIntegerVariables class
    • utils.SolutionDict can behave like a queue too

r4.3.0

24 Jul 11:43

Choose a tag to compare

Released to PyPI:

  • integer variables of candidate solutions are rounded (addressing also issue
    #286
    )
  • moved main docstring from fmin to fmin2
  • experimental plots for error estimates and sensitivities
  • fix numpy scalar type representations at various places
  • replace ineffective use_archives flag with archive_sent_solutions
    and archive_after_sent

r4.0.0

03 Sep 07:48

Choose a tag to compare

  • majorly improved mixed-integer handling based on a more concise lower bound of variances and on so-called integer centering
  • moved options and parameters code into a new file
  • many small-ish fixes and improvements

r3.4.0

27 Jul 13:37

Choose a tag to compare

r3.3.0

26 Jan 15:12

Choose a tag to compare

Diagonal decoding, fmin functions with surrogate and more.

r3.2.2

19 Mar 16:49

Choose a tag to compare

Smallish fixes and improvements and a constraints use case notebook.

r3.2.1

02 Mar 17:23

Choose a tag to compare

  • fixes plot of principal axes which were shown squared by mistake

r3.2.0

27 Feb 12:08

Choose a tag to compare

  • constraints handling via a dynamic unconstrained function instantiated from cma.ConstrainedFitnessAL.
  • many small improvements and fixes