Source code for discrete_optimization.generic_tasks_tools.solvers.cp.optal.calendar_resource

#  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 typing import Generic

from discrete_optimization.generic_tasks_tools.base import Task
from discrete_optimization.generic_tasks_tools.calendar_resource import (
    Resource,
)
from discrete_optimization.generic_tasks_tools.solvers.cp.base.calendar_resource import (
    CalendarResourceCpSolver,
)
from discrete_optimization.generic_tasks_tools.solvers.cp.optal.scheduling import (
    SchedulingOptalSolver,
)


[docs] class CalendarResourceOptalSolver(
CalendarResourceCpSolver[Task, Resource], SchedulingOptalSolver[Task], Generic[Task, Resource], ): ...