Skip to content

Releases: xsuite/xdeps

Xdeps version 0.3.0

21 Jul 09:14
Compare
Choose a tag to compare

Changes:

  • New features in Optimizer class:
    • Perform an assigned number of optimization steps calling optimizer.step(...).
    • Iterate until solution is found or termination condition is met through optimized.solve(...).
    • Disable/enable targets and vary objects through their active flag.
    • Inspect vary's and targets of the optimizer using the method optimizer.show().
    • Assign a tag to groups of vary's and targets and disable/enable groups by calling optimizer.disable_targets(tag=...), optimizer.disable_vary(tag=...), optimizer.enable_targets(tag=...), optimizer.enable_vary(tag=...).
    • Inspect the optimizer iteration history through optimizer.log(). History can be deleted by optimizer.clear_log()
    • Reload the state from a given iteration by calling optimizer.reload(...).
    • Provide defaults for vary steps and limits through container.vary_default.
  • Change RefContainer internal data from list to set.
  • On division by zero set nan instead or raising exception (for compatibility with MAD-X).
  • Automatically set width in Table.show()

Full Changelog: v0.2.0...v0.3.0

Xdeps version 0.2.0

26 Jun 16:15
Compare
Choose a tag to compare

Changes:

  • Introduce FunctionPieceWiseLinear.
  • Introduce possibility to freeze the dependency tree by setting self._tree_frozen = True
  • Fix issue in unregister.

Full Changelog: v0.1.1...v0.2.0

Xdeps version 0.1.1

06 Jun 14:47
Compare
Choose a tag to compare

Changes:

  • Add table module.

Full Changelog: v0.1.0...v0.1.1

Xdeps version 0.1.0

30 May 19:36
Compare
Choose a tag to compare

Changes:

  • Introduce Optmizer class used for example in Xtrack.Line.match.