# macop.callbacks.multi — macop v1.0.5 documentation

# 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)

  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`()

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

  `run`()

    Check if necessary to do backup based on every variable

class `macop.callbacks.multi.``ParetoCheckpoint`(every, filepath)

  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`()

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

  `run`()

    Check if necessary to do backup based on every variable