Source code for discrete_optimization.multibatching.solvers.solver_utils

#  Copyright (c) 2026 AIRBUS and its affiliates.
#  This source code is licensed under the MIT license found in the
#  LICENSE file in the root directory of this source tree.

"""Utility functions shared across multibatching solvers."""

import logging
from collections import defaultdict
from typing import Dict, Set

from discrete_optimization.multibatching.problem import MultibatchingProblem

logger = logging.getLogger(__name__)