All demonstrationsSHIFT SCHEDULING & MUS / RUST CPU

Schedule every shift, or pinpoint the exact conflict.

Describe teams, skills, off-days, forbidden shift transitions (like N -> M) and consecutive-day caps in a compact DSL. Rust finds an exact optimal roster in integer arithmetic—or isolates the minimal subset of conflicting rules when infeasible.

Ad-hoc spreadsheets and greedy scripts silently break night-to-morning rest rules or miss fair assignments. Declare days, shifts, workers, skills, off-days and rest transitions in a compact text DSL; Rust computes an exact Branch-and-Bound optimal roster re-verified independently, or extracts an inclusion-minimal UNSAT core when no schedule exists.

solve_scheduleTry the real call
Concept artwork · not calculation evidence
01 / UNDERSTAND THE METHOD

Hard constraints. Exact rosters or minimal UNSAT core.

INPUT PREVIEW · RUN TO CALCULATE
Choose a case. Then bring it to life.

Preset buttons change the inputs. Calculation starts only when you ask.

Input preview parsed from the DSL editor. Press Calculate to solve in Rust.
DECLARED HORIZON & AVAILABILITY PREVIEW6 workers × 7 days
WorkerMonTueWedThuFriSatSun
alice
rnicu
—————OFFOFF
bob
rn
OFF——————
carol
icu
———————
dave
rnicu
———————
eve
rn
———————
frank
icu
———————

Preview of declared workers, skills and OFF days parsed from the editor. No schedule is computed until you press Calculate.

Objective: balancedShifts: M, E, NCoverage rules: 3Forbidden transitions: N -> MMax consecutive: 4 daysSoft rules: 2
02 / ASK THE ACTUAL TOOL

Make it your experiment.

Complete tool arguments

Arrays, coordinates and nested contracts remain editable here. Units and limits are checked by the real tool.

Runs only when you press the button. Input edits discard the previous displayed result. Public compute limits apply.

KNOW WHAT THE RESULT MEANS

Useful evidence needs boundaries.

  • Bounded exact CP search (up to 31 days, 6 shifts, 32 workers, 256 shift slots, 150,000 search nodes and 3,500 ms wall time); budget expiry fails closed as feasible or inconclusive.
  • status="optimal" applies strictly to the declared model and objective function; labor-law statutes, intra-shift break durations and carry-over outside the declared horizon are not modeled.
  • Before you press Calculate, the grid previews declared workers and OFF days only; no scheduling runs in the browser. Direct MCP access requires no planner adapter.