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[Hashable, None, None, NonSkillCumulativeResource, NonRenewableResource, None]

additional_variables: dict
convert_task_variables_to_solution(raw_sol: RawSolution[Hashable, None, None]) → GenericSchedulingSolution[Hashable, None, None, NonSkillCumulativeResource, NonRenewableResource, None][source]

Convert solution from autosolver format into do format.

To be used in self.retrieve_solution().

Parameters:

raw_sol

Returns:

problem: RcpspWithAlternativePath

Module contents