# hub.solver.do_solver.sk_to_do_binding
Domain specification
Domain
# from_last_state_to_solution
from_last_state_to_solution(
state: State,
domain: SchedulingDomain
) -> RcpspSolution
Transform a scheduling state into a RcpspSolution This function reads the schedule from the state object and transform it back to a discrete-optimization solution object.
# build_do_domain
build_do_domain(
scheduling_domain: Union[SingleModeRCPSP, SingleModeRCPSPCalendar, MultiModeRCPSP, MultiModeRCPSPWithCost, MultiModeRCPSPCalendar, MultiModeMultiSkillRCPSP, MultiModeMultiSkillRCPSPCalendar, SingleModeRCPSP_Stochastic_Durations]
) -> Union[RcpspProblem, MultiskillRcpspProblem]
Transform the scheduling domain (from scikit-decide) into a discrete-optimization problem.
This only works for scheduling template given in the type docstring.
# build_sk_domain
build_sk_domain(
rcpsp_do_domain: Union[MultiskillRcpspProblem, RcpspProblem],
varying_ressource: bool = False
) -> Union[RCPSP, MSRCPSP, MRCPSP, MSRCPSPCalendar]
Build a scheduling domain (scikit-decide) from a discrete-optimization problem