bccp / abopt

abopt (ABstract OPTimizer) - optimization of generic numerical models

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

abopt

abopt (ABstract OPTimizer) - optimization of generic numerical models

image

The package contains two components:

  • optimize: L-BFGS, TrustRegion, and a bunch of simpler optimizer like gradient descent.
  • model: vmad (Virtual Machine Automated Differentiation), a differentiable state machine for forward modelling, moved to https://github.com/rainwoodman/vmad

This is the second iteration of the design. The current main interface is in abopt.abopt2.

The main difference between abopt and scipy's algorithm is that the inner product and linear operators are supplied via a vectorspace object. The reason for this is because on a distributed problem the inner product must do a global reduction.

The usage involves defining a Problem, then use an optimizer to minimize it. The test suite are a good source of examples.

Things have been put together in more or less of a haste. I have a feeling we may need a restructure at some point; the current way of dealing with meta-parameters (e.g. trust region radius) is mutable and thus awkward.

About

abopt (ABstract OPTimizer) - optimization of generic numerical models

License:GNU General Public License v3.0


Languages

Language:Python 99.9%Language:Shell 0.1%