Skip to content

Using a custom progress function

Emmanuel Benazera edited this page Jul 3, 2014 · 4 revisions

The library supports the customization of the progress function.

The progress function is called internally after each iteration and is a good place where to put custom code for various purposes:

  • custom control value output;
  • intermediary computations (e.g. external validation of results every k steps)
  • ...