discrete_optimization.rcpsp_alternative.solvers package

Submodules

discrete_optimization.rcpsp_alternative.solvers.cpsat module

class discrete_optimization.rcpsp_alternative.solvers.cpsat.CpsatRcpspWithAlternativePathSolver(problem: Problem, params_objective_function: ParamsObjectiveFunction | None = None, **kwargs: Any)[source]

Bases: GenericSchedulingAutoCpSatSolver[Task, None, None, NonSkillCumulativeResource, NonRenewableResource]

additional_variables: dict
convert_task_variables_to_solution(raw_sol: RawSolution[Task, UnaryResource, Skill]) → GenericSchedulingSolution[Task, UnaryResource, Skill, NonSkillCumulativeResource, NonRenewableResource][source]

Convert solution from autosolver format into do format.

To be used in self.retrieve_solution().

Parameters:

raw_sol

Returns:

problem: RcpspWithAlternativePath

Module contents