proxtoolbox.Algorithms

Created on Mon Dec 14 12:53:43 2015

@author: rebecca

The “Algorithms”-module contains all algorithms provided by the ProxToolbox.

class proxtoolbox.Algorithms.AP(config)[source]

Bases: proxtoolbox.Algorithms.algorithms.Algorithm

Alternating Projections

Parameters:
config : dict

Dictionary containing the problem configuration. It must contain the following mappings:

proj1: ProxOperator

First ProxOperator (the class, no instance)

proj2: ProxOperator

Second ProxOperator (the class, no instance)

beta0: number

Starting relaxation parmater

beta_max: number

Maximum relaxation parameter

beta_switch: int

Iteration at which beta moves from beta0 -> beta_max

normM: number

?

Nx: int

Row-dim of the product space elements

Ny: int

Column-dim of the product space elements

Nz: int

Depth-dim of the product space elements

dim: int

Size of the product space

run(u, tol, maxiter)[source]

Runs the algorithm for the specified input data

class proxtoolbox.Algorithms.HPR(config)[source]

Bases: proxtoolbox.Algorithms.algorithms.Algorithm

Heinz-Patrick-Russell algorithm

References

  • TODO

Bauschke, Combettes & Luke, Journal of the Optical Society of America, 20(6):1025-1034, 2003

Parameters:
config : dict

Dictionary containing the problem configuration. It must contain the following mappings:

proj1: ProxOperator

First ProxOperator (the class, no instance)

proj2: ProxOperator

Second ProxOperator (the class, no instance)

beta0: number

Starting relaxation parmater

beta_max: number

Maximum relaxation parameter

beta_switch: int

Iteration at which beta moves from beta0 -> beta_max

normM: number

?

Nx: int

Row-dim of the product space elements

Ny: int

Column-dim of the product space elements

Nz: int

Depth-dim of the product space elements

dim: int

Size of the product space

run(u, tol, maxiter)[source]

Runs the algorithm for the specified input data

class proxtoolbox.Algorithms.RAAR(config)[source]

Bases: proxtoolbox.Algorithms.algorithms.Algorithm

Relaxed Averaged Alternating Reflection algorithm

Parameters:
config : dict

Dictionary containing the problem configuration. It must contain the following mappings:

proxoperators: 2 ProxOperators

Tuple of ProxOperators (the class, no instance)

beta0: number

Starting relaxation parmater

beta_max: number

Maximum relaxation parameter

beta_switch: int

Iteration at which beta moves from beta0 -> beta_max

normM: number

?

Nx: int

Row-dim of the product space elements

Ny: int

Column-dim of the product space elements

Nz: int

Depth-dim of the product space elements

dim: int

Size of the product space

run(u, tol, maxiter)[source]

Runs the algorithm for the specified input data