SHA256
1
0
forked from pool/python-cma

14 Commits

Author SHA256 Message Date
de9d110956 Accepting request 1226392 from devel:languages:python:numeric
- 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.

OBS-URL: https://build.opensuse.org/request/show/1226392
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cma?expand=0&rev=6
2024-11-26 19:55:58 +00:00
57f38b082e - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-cma?expand=0&rev=14
2024-11-26 04:33:25 +00:00
28a3dfc3a2 Accepting request 1187018 from devel:languages:python:numeric
- Restrict numpy to < 2.
- Switch to pyproject macros.
- No more globs in %files.

OBS-URL: https://build.opensuse.org/request/show/1187018
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cma?expand=0&rev=5
2024-07-12 15:05:41 +00:00
8391db0086 Accepting request 1061747 from devel:languages:python:numeric
- update to 3.3.0:
  * Diagonal decoding, fmin functions with surrogate and more.

OBS-URL: https://build.opensuse.org/request/show/1061747
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cma?expand=0&rev=4
2023-01-28 17:45:37 +00:00
9b8f2cf0ea - update to 3.3.0:
* Diagonal decoding, fmin functions with surrogate and more.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-cma?expand=0&rev=10
2023-01-28 14:36:12 +00:00
85fa957f62 Accepting request 1055966 from devel:languages:python:numeric
- 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

OBS-URL: https://build.opensuse.org/request/show/1055966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cma?expand=0&rev=3
2023-01-04 19:18:35 +00:00
e035e07ecb - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-cma?expand=0&rev=8
2023-01-04 16:51:17 +00:00
f76cef8246 Accepting request 885958 from devel:languages:python:numeric
- Don't build for Python 3.6, due to no NumPy.

OBS-URL: https://build.opensuse.org/request/show/885958
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cma?expand=0&rev=2
2021-04-16 22:02:02 +00:00
2d58169b42 - Don't build for Python 3.6, due to no NumPy.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-cma?expand=0&rev=6
2021-04-16 11:31:32 +00:00
6336756e72 Accepting request 804885 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/804885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cma?expand=0&rev=1
2020-05-26 15:15:52 +00:00
Tomáš Chvátal
ace8ea2ff2 - Make sure the tests are executed
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-cma?expand=0&rev=4
2020-05-13 07:16:56 +00:00
Tomáš Chvátal
ebeb92659b - Add missing runtime dependencies, as declared in setup.py
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-cma?expand=0&rev=3
2020-05-13 07:13:15 +00:00
Tomáš Chvátal
1fcaf1093d - Format with spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-cma?expand=0&rev=2
2020-05-13 07:12:21 +00:00
Tomáš Chvátal
595f1b92f2 Accepting request 803401 from home:cjunghans:branches:devel:languages:python:numeric
- inital commit adding version 3.0.3

OBS-URL: https://build.opensuse.org/request/show/803401
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-cma?expand=0&rev=1
2020-05-13 07:11:46 +00:00
4 changed files with 40 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2a061296bfca4eb979ed471e0c5acf40fc69345c13d4522ac6ed62a50d864bcf
size 776265

3
cma-4.0.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8963e125c3e8ad6ec99612f4a257b94b6e495c48a907a846174da18f5723c76c
size 799410

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
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>

View File

@@ -18,20 +18,20 @@
Name: python-cma
Version: 3.3.0
Version: 4.0.0
Release: 0
Summary: Covariance Matrix Adaptation Evolution Strategy numerical optimizer
License: BSD-3-Clause
URL: https://cma.gforge.inria.fr/cmaes_sourcecode_page.html
URL: https://github.com/CMA-ES/pycma
Source0: https://github.com/CMA-ES/pycma/archive/r%{version}.tar.gz#/cma-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy-devel < 2}
BuildRequires: %{python_module numpy-devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-numpy < 2
Requires: python-numpy
Recommends: python-matplotlib
BuildArch: noarch
%python_subpackages