macop.callbacks.ParetoCheckpoint

Pareto front Checkpoint class implementation

Classes

ParetoCheckpoint(_every, _filepath)

Pareto checkpoint is used for loading previous computations and start again after loading checkpoint

class macop.callbacks.ParetoCheckpoint.ParetoCheckpoint(_every, _filepath)[source]

Pareto checkpoint is used for loading previous computations and start again after loading checkpoint

algo

{Algorithm} – main algorithm instance reference

every

{int} – checkpoint frequency used (based on number of evaluations)

filepath

{str} – file path where checkpoints will be saved

load()[source]

Load backup lines as population and set algorithm state (population and pareto front) at this backup

run()[source]

Check if necessary to do backup based on every variable