Skip to content

PyScat v0.1.0

Latest

Choose a tag to compare

@dweindl dweindl released this 12 Feb 12:31
· 7 commits to main since this release
Immutable release. Only release title and notes can be modified.
e023677

What's Changed

Breaking changes

  • Changed SacessOptimizer results, disable autosave by @dweindl in #51 and #56
    • Intermediate results are only saved to file if explicitly requested.
    • The tmpdir argument has been replaced by autosave_dir.
    • The SacessOptimizer.minimize result no longer contains all local optimization results. They can be recovered from the autosave files if required and if enabled.
  • The SacessOptimizer.minimize result contains one single OptimizerResult representing the best point found across all workers. Its .history contains the monotonic history of the globally best point.
  • Don't store an OptimizerResult for every iteration by @dweindl in #47
    The same information is available from the history stored in the result
  • Refactor/move .plot.monotonic_history -> .utils.merge_monotonic_histories by @dweindl in #50 and #55

Features

  • Apply resource limits to local optimizer if supported by @dweindl in #38
  • Lift numpy requirement to >=2.0 by @dweindl in #37
  • Optional inclusion of local solutions in ESSOptimizer.minimize result by @dweindl in #44
  • Allow passing custom history instance to ESSOptimizer.minimize by @dweindl in #46
  • Set .history on ESSOptimizer OptimizerResult by @dweindl in #49

Fixes

  • Fix n_eval-criterion for worker adaptation by @dweindl in #42
  • Fix lagging best known solution in ESSOptimizer after cooperation step by @dweindl in #53
  • Fix monotonic_history for empty histories by @dweindl in #30
  • Refuse Problem with x_guesses by @dweindl in #34
  • Better adherence to the walltime limit by SacessOptimizer, in particular in the cases of low limits by @dweindl in #35
  • Don't create outcmaes directory in SacessCmaFactory by @dweindl in #48
  • Include worker index in WorkerResult, sort SacessOptimizer.worker_results by @dweindl in #54
  • Prevent infinite loop in ESSOptimizer in case of permanent objective failures by @dweindl in #57

Full Changelog: v0.0.1.post1...v0.1.0