# 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.optal.auto import (
GenericSchedulingAutoOptalSolver,
)
logger = logging.getLogger(__name__)
[docs]
class GenericSchedulingAutoOptalImplSolver(
GenericSchedulingAutoCpImplSolver,
GenericSchedulingAutoOptalSolver[
Task,
UnaryResource,
Skill,
NonSkillCumulativeResource,
NonRenewableResource,
ExclusionResource,
],
):
"""Generic implementation of cpmpy solver for scheduling problems (with or without allocation).
It implements abstract class `GenericSchedulingAutoCpmpySolver`.
"""
...