Move optimization options to constructor
Description
To simplify usage and configuration we move the options for the optimizer into its constructor from the solve
method.
Related to #545 (closed)
Notes for Reviewer
Additionally, rename NewtonOptimizationOptions
to OptimizationOptions
as we should probably use the same optimization options for any optimizer given that we can make all optimizers follow some common interface (which we anyway assume).
Checklist
-
Documentation was updated
Edited by Igor Bogoslavskyi