optimize

pyoptex.doe.fixed_structure.optimize.optimize(params, max_it=10000, validate=False, eps=0.0001)[source]

Optimize a model iteratively using the coordinate-exchange algorithm. Only specific groups at each level are updated to allow design augmentation.

Parameters

paramsParameters

The parameters of the design generation.

max_itint

The maximum number of iterations to prevent potential infinite loops.

validatebool

Whether to validate the update formulas at each step. This is used to debug.

epsfloat

A relative increase of at least epsilon is required to accept the change.

Returns

Ynp.array(2d)

The generated design

stateState

The state according to the generated design.