Two-stage CP-SAT solver
Row-level Excel validation feeds a two-stage OR-Tools CP-SAT model, then an independent validator re-checks every result.
CASE STUDY · 2026
Clash-free college timetables, and a calm fix when someone is absent.
MY ROLEDesigned and built the solver, API and web app
Upload one Excel workbook and a CP-SAT solver generates a clash-free semester timetable; daily absences get ranked substitutes and free rooms for a coordinator to approve.
OVERVIEW
SlotWise is built for Indian colleges. Module A turns one Excel workbook into a validated, clash-free semester timetable you can review, adjust, publish and export. Module B handles daily operations: report an absence or a room problem and get ranked substitutes and free rooms with reasons.
Timetables are a hard constraint problem, and a single clash breaks a whole week. Daily adjustments must never corrupt the published semester plan, and approvals and notifications have to stay correct under concurrent use.
HOW I APPROACHED IT
Row-level Excel validation feeds a two-stage OR-Tools CP-SAT model, then an independent validator re-checks every result.
Pre-checks report impossible inputs in plain language so a coordinator can fix the sheet instead of reading solver logs.
Absences create date-specific overrides; approval is re-checked under an advisory lock and a database unique index.
A worker processes solves, an email outbox (SKIP LOCKED) with retries and reminders, with in-app and email notifications.
OUTCOME
The prototype runs end to end and is being shared with teachers and coordinators to collect feedback.
BUILT WITH