# 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, SchedulingDomain]
) -> DOSchedulingProblem
Transform the scheduling domain (from scikit-decide) into a discrete-optimization problem.
This only works for scheduling template given in the type docstring.