Releases: xsuite/xdeps
Releases · xsuite/xdeps
Xdeps version 0.3.0
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 byoptimizer.clear_log()
- Reload the state from a given iteration by calling
optimizer.reload(...)
. - Provide defaults for vary steps and limits through
container.vary_default
.
- Perform an assigned number of optimization steps calling
- 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
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
Xdeps version 0.1.0
Changes:
- Introduce
Optmizer
class used for example inXtrack.Line.match
.