optimization

Module for all optimizaters of the CODEX algorithm

Functions

adapt_group(groups, factor, row_start, row_end)

Detects which groups should be adapted by having changed a specific factor column from row_start to row_end.

adapt_groups(groups, Y, colstart, row_start, ...)

Detects which groups should be adapted for each factor according to adapt_group.

ce_optimizer(state, params)

Optimizes the design by applying a single coordinate exchange pass over the design.

ce_struct_optimizer(state, params)

Optimizes the design by applying a single structured coordinate exchange pass over the design.

pe_optimizer(state, params)

Optimizes the design by applying a point-exchange exchange pass over the design.

Classes

CEOptimizer([n])

Applies the coordinate exchange function on the design every n iterations.

CEStructOptimizer([n])

Applies the structured coordinate-exchange function on the design every n iterations.

Optimizer([n])

Applies the optimizer on the design every n iterations.

PEOptimizer([n])

Applies the point-exchange function on the design every n iterations.