simpeg.optimization.ProjectedGNCG#

class simpeg.optimization.ProjectedGNCG(**kwargs)[source]#

Bases: BFGS, Minimize, Remember

Attributes

approxHinv

The approximate Hessian inverse is used to precondition CG.

bfgsH0

Approximate Hessian used in preconditioning the problem.

callback

counter

parent

print_type

Methods

activeSet(x)

If we are on a bound

bfgsrec(k, n, nn, S, Y, d)

BFGS recursion

doEndIteration(xt)

doEndIteration is called at the end of each minimize iteration.

doStartIteration()

doStartIteration is called at the start of each minimize iteration.

findSearchDirection()

Finds the search direction based on projected CG

finish()

finish is called at the end of the optimization.

minimize(evalFunction, x0)

Minimizes the function (evalFunction) starting at the location x0.

modifySearchDirection(p)

modifySearchDirection changes the search direction based on some sort of linesearch or trust-region criteria.

modifySearchDirectionBreak(p)

Code is called if modifySearchDirection fails to find a descent direction.

printDone([inLS])

printDone is called at the end of the optimization routine.

printInit([inLS])

printInit is called at the beginning of the optimization routine.

printIter([inLS])

printIter is called directly after function evaluations.

projection(x)

Make sure we are feasible.

scaleSearchDirection(p)

scaleSearchDirection should scale the search direction if appropriate.

startup(x0)

startup is called at the start of any new minimize call.

bfgs

recall

remember

save

stoppingCriteria

Galleries and Tutorials using simpeg.optimization.ProjectedGNCG#

Maps: ComboMaps

Maps: ComboMaps

PF: Gravity: Tiled Inversion Linear

PF: Gravity: Tiled Inversion Linear

Magnetic inversion on a TreeMesh

Magnetic inversion on a TreeMesh

Magnetic inversion on a TreeMesh

Magnetic inversion on a TreeMesh

Magnetic Amplitude inversion on a TreeMesh

Magnetic Amplitude inversion on a TreeMesh

Method of Equivalent Sources for Removing VRM Responses

Method of Equivalent Sources for Removing VRM Responses

Petrophysically guided inversion (PGI): Linear example

Petrophysically guided inversion (PGI): Linear example

Petrophysically guided inversion: Joint linear example with nonlinear relationships

Petrophysically guided inversion: Joint linear example with nonlinear relationships

PF: Gravity: Laguna del Maule Bouguer Gravity

PF: Gravity: Laguna del Maule Bouguer Gravity

Straight Ray with Volume Data Misfit Term

Straight Ray with Volume Data Misfit Term

Least-Squares Inversion of Gravity Anomaly Data

Least-Squares Inversion of Gravity Anomaly Data

Sparse Norm Inversion of Gravity Anomaly Data

Sparse Norm Inversion of Gravity Anomaly Data

Joint PGI of Gravity + Magnetic on an Octree mesh using full petrophysical information

Joint PGI of Gravity + Magnetic on an Octree mesh using full petrophysical information

Joint PGI of Gravity + Magnetic on an Octree mesh without petrophysical information

Joint PGI of Gravity + Magnetic on an Octree mesh without petrophysical information

Sparse Inversion with Iteratively Re-Weighted Least-Squares

Sparse Inversion with Iteratively Re-Weighted Least-Squares

1D Inversion of for a Single Sounding

1D Inversion of for a Single Sounding

1D Inversion of Time-Domain Data for a Single Sounding

1D Inversion of Time-Domain Data for a Single Sounding

2.5D DC Resistivity and IP Least-Squares Inversion

2.5D DC Resistivity and IP Least-Squares Inversion

3D Least-Squares Inversion of DC and IP Data

3D Least-Squares Inversion of DC and IP Data

Sparse Norm Inversion of 2D Seismic Tomography Data

Sparse Norm Inversion of 2D Seismic Tomography Data

Cross-gradient Joint Inversion of Gravity and Magnetic Anomaly Data

Cross-gradient Joint Inversion of Gravity and Magnetic Anomaly Data

Sparse Norm Inversion for Total Magnetic Intensity Data on a Tensor Mesh

Sparse Norm Inversion for Total Magnetic Intensity Data on a Tensor Mesh

Sparse 1D Inversion of Sounding Data

Sparse 1D Inversion of Sounding Data