Introduce a unit tests for optimizers

Description

Introduce a unit tests for optimizers.

Currently, this only test for the FIRE algorithm, using the Rozenbrock test function. More functions could be added, as well as more unit tests.

This should be used to validate changes to the optimizers.

Here is the plot of the output of the unit test, from the results of the optimization.log file.

image

News snippet

Introduce a unit tests for optimizers.

Checklist

  • I have checked that my code follows the Octopus coding standards
  • I have added tests for all the new features added in this request.

Merge request reports

Loading