pub fn schedule_or_overflow(
tasks: &[Interval],
machines: usize,
) -> ScheduleOutcomeExpand description
Decide whether tasks can be scheduled on machines machines. Sweeps the endpoints to find the
peak overlap: feasible iff that peak is ≤ machines, with a greedy interval colouring as the
assignment, else the overflowing overlap-clique as the certificate.