Releases: impredicative/wrapdisc
Releases · impredicative/wrapdisc
v2.5.0
v2.4.0
- Add an optional
allow_nan: bool
kwarg for theObjective
class with a default value ofFalse
. Refer to the docstring ofObjective.__init__
for more info about it.
v2.3.2
- Improve the type annotations for
ChoiceVar
andGridvar
.
v2.3.1
- Use efficient imports from
itertools
andmath
.
v2.3.0
- Use an efficient encoding of length 0 for
RandintVar
when its lower and upper bounds are equal. Previously its encoding length was always 1.
v2.2.1
- Fix a bug to support duplicated variables.
v2.2.0
- Use an efficient encoding of length 0 for
GridVar
of length 1. Previously its encoding length was always 1.
v2.1.2
- Support
dict
input forChoiceVar
andGridVar
via its explicit internal conversion totuple
.
v2.1.1
- Return NaN if a NaN is present in the encoded array. This was found to be the case with
scipy.optimize.dual_annealing
.
v2.1.0
- Update various variable
bounds
to use string representations when dividing and adding floats. This prevents errors such as for example withQuniformVar(0, 99.9, 0.1)
decoding its encoded boundary values. It is unclear how best to address floating point issues.