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 01 / UNDERSTAND THE METHOD
INPUT PREVIEW · RUN TO CALCULATEHard constraints. Exact rosters or minimal UNSAT core.
Input preview parsed from the DSL editor. Press Calculate to solve in Rust.
DECLARED HORIZON & AVAILABILITY PREVIEW6 workers × 7 days
| Worker | Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|---|---|---|---|---|---|---|---|
| alice rnicu | — | — | — | — | — | OFF | OFF |
| 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
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.