Source code for lightwin.optimisation.objective.minimize_mismatch

"""Hold mismatch related functions.

It has its own module as this quantity is pretty specific.

"""

import logging

from lightwin.optimisation.objective.objective import (
    MinimizeMismatch as _MinimizeMismatch,
)


[docs] class MinimizeMismatch(_MinimizeMismatch):
[docs] def __init__(self, *args, **kwargs): logging.warning( "MinimizeMismatch has moved to " "lightwin.optimisation.objective, please update your import." ) return super().__init__(*args, **kwargs)