PEOptimizer

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

Applies the point-exchange function 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

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

Applies the optimizer.

PEOptimizer.reset()

Resets the optimizer.