Source code for discrete_optimization.generic_tasks_tools.solvers.cp.cpsat.auto_impl

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

from __future__ import annotations

import logging

from discrete_optimization.generic_tasks_tools.generic_scheduling_impl import (
    ExclusionResource,
    NonRenewableResource,
    NonSkillCumulativeResource,
    Skill,
    Task,
    UnaryResource,
)
from discrete_optimization.generic_tasks_tools.solvers.cp.base.auto_impl import (
    GenericSchedulingAutoCpImplSolver,
)
from discrete_optimization.generic_tasks_tools.solvers.cp.cpsat.auto import (
    GenericSchedulingAutoCpSatSolver,
)

logger = logging.getLogger(__name__)


[docs] class GenericSchedulingAutoCpSatImplSolver( GenericSchedulingAutoCpImplSolver, GenericSchedulingAutoCpSatSolver[ Task, UnaryResource, Skill, NonSkillCumulativeResource, NonRenewableResource, ExclusionResource, ], ): """Generic implementation of cpsat solver for scheduling problems (with or without allocation). It implements abstract class `GenericSchedulingAutoCpSatSolver`. """ ...