def METHOD_NAME(self, constraints):
    """Add constraints to the synthesizer.
    Args:
        constraints (list):
            List of constraints described as dictionaries in the following format:
                * ``constraint_class``: Name of the constraint to apply.
                * ``constraint_parameters``: A dictionary with the constraint parameters.
    """
    self._synthesizer.METHOD_NAME(constraints)