Skip to content

Releases: impredicative/wrapdisc

v2.5.0

23 Feb 18:09
Compare
Choose a tag to compare
  • Switch from using Fraction to Decimal due to much better benchmarked speeds.

v2.4.0

10 Jan 03:24
Compare
Choose a tag to compare
  • Add an optional allow_nan: bool kwarg for the Objective class with a default value of False. Refer to the docstring of Objective.__init__ for more info about it.

v2.3.2

01 Jan 22:40
Compare
Choose a tag to compare
  • Improve the type annotations for ChoiceVar and Gridvar.

v2.3.1

31 Dec 01:43
Compare
Choose a tag to compare
  • Use efficient imports from itertools and math.

v2.3.0

29 Dec 14:56
Compare
Choose a tag to compare
  • 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

25 Dec 00:27
Compare
Choose a tag to compare
  • Fix a bug to support duplicated variables.

v2.2.0

23 Dec 16:28
Compare
Choose a tag to compare
  • Use an efficient encoding of length 0 for GridVar of length 1. Previously its encoding length was always 1.

v2.1.2

18 Dec 04:29
Compare
Choose a tag to compare
  • Support dict input for ChoiceVar and GridVar via its explicit internal conversion to tuple.

v2.1.1

16 Dec 03:57
Compare
Choose a tag to compare
  • 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

13 Dec 04:14
Compare
Choose a tag to compare
  • Update various variable bounds to use string representations when dividing and adding floats. This prevents errors such as for example with QuniformVar(0, 99.9, 0.1) decoding its encoded boundary values. It is unclear how best to address floating point issues.