macop.callbacks.multi

Multi-objective Checkpoints classes implementations

Classes

MultiCheckpoint(every, filepath)

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

ParetoCheckpoint(every, filepath)

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

class macop.callbacks.multi.MultiCheckpoint(every, filepath)[source]

MultiCheckpoint 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

class macop.callbacks.multi.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