CEOptimizer

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

Applies the coordinate 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

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

Applies the optimizer.

CEOptimizer.reset()

Resets the optimizer.