Optimizer

class pyoptex.doe.cost_optimal.codex.optimization.Optimizer(n=1)[source]

Applies the optimizer on the design every n iterations.

Attributes

iint

The current iteration

nint

Every nth iteration, the optimization is applied.

__init__(n=1)[source]

Initializes the coordinate-exchange optimizer.

Parameters

nint

The number of iterations before applying the optimizer.

Methods

Optimizer.call(state, params[, force])

Applies the optimizer.

Optimizer.reset()

Resets the optimizer.