Skip to content

v0.6.5

Choose a tag to compare

@github-actions github-actions released this 23 Aug 15:02
· 5 commits to master since this release
86b8730

Manopt v0.6.5

Diff since v0.6.4

Added

  • a new function requires_update that per <:StoppingCriterion type can indicate, whether a state is present that needs updating in every iteration.
  • a new shortcut for the StopWhenCriterionWithIterationCondition that only evaluates every nth iteration using stopping_criterion ≞ n (\measeq on REPL) as constructor. While in theory also % would have been possible, there was a discussion not to use mnore-common symbols here, cf. (#509) – and the m could be seen as “modulo”.

Fixed

  • StopWhenAll and StopWhenAny evaluated their criteria with short-circuiting, so criteria later in the list were not called in every iteration. Stateful criteria like
    StopWhenChangeLess or StopWhenRepeated were hence not updated and the reset at
    initialization did not reach them either. Now requires_update is used to determine which ones need to be called even after one could use a shortcut already – only the ones without state are “short-circuited”. (#632,#635)

Merged pull requests:

  • Always evaluate all stopping criteria for StopWhenAll/StopWhenAny (#635) (@kellertuer)

Closed issues:

  • StopWhenArr/StopWhenAy skips side-effecting children (#632)