File python-cma.changes of Package python-cma
-------------------------------------------------------------------
Fri Feb 27 00:59:08 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 4.4.4:
* Increase the step-size damping of CSA and TPA.
* Provide option 'TPA_dampfac' analogous to 'CSA_dampfac'.
* Plots now show the current best solution and the distribution mean in two
subplots.
* Provide a more_algorithms sub-package containing purecma and CompactGA.
* Provide a provisional experimentation module (requires import
cma.experimentation).
* Fix compatibility issues (with comocma):
+ add back the (deprecated) cma.constraints_handling.BoundTransform class
which was missing since 4.1.0. Note that cma.BoundTransform is the
recommended way to access this class
+ remove dependency of OOOptimizer.optimize on self.result
* fix where plotting bails with some recent version of matplotlib>3.8.0.
* Various improvements of the logger and plotting.
* 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
* constraints handling is available also in the ask-and-tell interface
* ask has an ignore_integer_variables argument to not mutate integer
variables
* an on/off switch for integer centering,
cma.integer_centering.centering_on (by default True)
* integer variables of candidate solutions are rounded
* 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
* a stand-alone boundary handling function wrapper BoundDomainTransform
* streamline plot docs, fix symlog plot with newest matplotlib, plots
display the value of .stop() and the version number
* a few more minor fixes and improvements
* replace setup.py with pyproject.toml
* move boundary handling into a separate module
-------------------------------------------------------------------
Tue Nov 26 04:31:35 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 4.0.0:
* 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
* fix compatibility to numpy 2.0 (thanks to Sait Cakmak)
* improved interface to noise_handler argument which accepts True as value
* improved interface to ScaleCoordinates now also with lower and upper
value mapping to [0, 1], see issue #210
* changed: 'ftarget' triggers with <= instead of <
* assign surrogate attribute (for the record) when calling fmin_lq_surr
* various (minor) bug fixes
* various (small) improvements of the plots and their usability
* display iterations, evaluations and population size and termination
criteria in the plots
* subtract any recorded x from the plotted x-values by x_opt=index
* plots are now versus iteration number instead of evaluations by default
* provide legacy bbobbenchmarks without downloading
* new: CMADataLogger.zip allows sharing plotting data more easily by a
zip file
* new: tolxstagnation termination condition for when the incumbent
seems stuck
* new: collect restart terminations in cma.evalution_strategy.all_stoppings
* new: stall_sigma_change_on_divergence_iterations option to stall sigma
change when the median fitness is worsening
* new: limit active C update for integer variables
* new: provide a COCO single function
- Remove upper bound on numpy.
- Update URL.
-------------------------------------------------------------------
Fri Jul 12 07:13:44 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Restrict numpy to < 2.
- Switch to pyproject macros.
- No more globs in %files.
-------------------------------------------------------------------
Sat Jan 28 14:35:51 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.3.0:
* Diagonal decoding, fmin functions with surrogate and more.
-------------------------------------------------------------------
Wed Jan 4 16:50:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to r3.2.2:
* Smallish fixes and improvements and a constraints use case notebook.
* fixes plot of principal axes which were shown squared by mistake
- update to r3.2.0:
* constraints handling via a dynamic unconstrained function instantiated
from cma.ConstrainedFitnessAL.
* many small improvements and fixes
- update to r3.1.0:
* fix return value of fmin_con and make it more usable, added attribute
best_feasible
* polish evolution_strategy.py
* fix a few smallish bugs
-------------------------------------------------------------------
Fri Apr 16 11:30:57 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Don't build for Python 3.6, due to no NumPy.
-------------------------------------------------------------------
Wed May 13 07:12:57 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Add missing runtime dependencies, as declared in setup.py
- Format with spec-cleaner
- Make sure the tests are executed
-------------------------------------------------------------------
Mon May 11 18:45:35 UTC 2020 - Christoph Junghans <junghans@votca.org>
- inital commit adding version 3.0.3