SimPEG.optimization.ProjectedGradient#

class SimPEG.optimization.ProjectedGradient(**kwargs)[source]#

Bases: Minimize, Remember

Methods

activeSet(x)

If we are on a bound

bindingSet(x)

If we are on a bound and the negative gradient points away from the feasible set.

findSearchDirection()

Finds the search direction based on either CG or steepest descent.

inactiveSet(x)

The free variables.

projection(x)

Make sure we are feasible.