minimize should provide a consistent interface

Bug #1052947 reported by James Maddison
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Simon Funke

Bug Description

Currently the arguments accepted by the minimize function vary depending upon the optimisation algorithm selected, as arguments are passed directly to the relevant optimisation function. This makes it difficult to change between optimisation algorithms, and requires reference to the documentation of lower level libraries.

Revision history for this message
Simon Funke (simon-funke) wrote :

I just saw that the new scipy.optimize version offers a unified interface to its algorithms, which we can use.

In the long term (in particular if dolfin-adjoint connects to mutliple optimisation frameworks) I will introduce a mapping dictionary that provides a unified interface - at least as much as possible.

Changed in dolfin-adjoint:
assignee: nobody → Simon Funke (simon-funke)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.