Introduction
In AI planning and scheduling, requirements are often modeled as Constraint Satisfaction Problems (CSPs). However, real-world scenarios frequently result in "overconstrained" systems where satisfying every rule is mathematically impossible. Traditional solvers typically provide a binary response: they either find a solution or return a failure. For human schedulers or autonomous agents, a simple "No" is insufficient. To resolve the conflict, one must identify the specific clashing constraints.
This paper introduces Musilitis, an algorithm designed to find all Minimally Unsatisfiable Subsets (MUSes) in Disjunctive Temporal Problems (DTPs). An MUS is a set of constraints that is unsatisfiable, but would become satisfiable if any single element were removed. Identifying MUSes allows for "surgical" repairs—such as slightly relaxing a task's duration—rather than deleting constraints entirely.
Methodology: The Musilitis Framework
Musilitis operates in two distinct phases, leveraging a deep mathematical duality between maximal satisfiability and minimal unsatisfiability.
Phase 1: Identifying CoMSSes
The algorithm first identifies all Maximally Satisfiable Subsets (MSSes)—the largest groups of constraints that can coexist. Specifically, it targets their complements, known as CoMSSes. Removing all constraints in a CoMSS guarantees the remaining problem is solvable. Musilitis employs a backtracking search to exhaustively find these sets.
Phase 2: MUS Extraction via Hitting-Set Duality
The core innovation lies in the hitting-set relationship: every MUS must contain at least one constraint from every CoMSS. By treating the CoMSSes from Phase 1 as a collection of sets, the algorithm uses a greedy hitting-set approach to extract the MUSes.
This decomposition allows the use of advanced DTP solving techniques (like semantic branching) in the first phase while keeping the second phase independent of the specific constraint type.
Experimental Evaluation
The researchers evaluated Musilitis using randomly generated DTP benchmarks, varying the number of time points ($N$), constraints ($m$), and density ($R = m/N$).
Performance and Search Strategy
A key finding was the efficiency of the search strategy. While incremental approaches are often favored in SAT solving, this study found that for identifying all conflicts in DTPs, a single exhaustive backtracking search was approximately an order of magnitude faster.
In highly constrained instances, Musilitis identified tens of thousands of MUSes within the first minute. The runtime is primarily driven by the total number of MUSes present; in some benchmarks, the algorithm successfully extracted over a million distinct conflicts before reaching a 30-minute timeout.
Key Insights
- Duality as Efficiency: It is often more computationally efficient to find what works (MSSes) to determine what doesn't (MUSes).
- Anytime Utility: The MUS extraction phase is an "anytime" algorithm. It begins producing valid MUSes almost immediately, allowing users to start relaxing constraints without waiting for the entire search to complete.
- Surgical Repair: Unlike Boolean logic, temporal constraints have numeric bounds. Identifying an MUS pinpoints exactly which bounds need adjustment to achieve feasibility.
Conclusion
Musilitis provides a robust framework for diagnosing impossible schedules. While the combinatorial explosion of MUSes remains a challenge for massive industrial problems, the algorithm's ability to provide immediate feedback is a significant step toward mixed-initiative systems where AI and humans collaborate to resolve complex scheduling conflicts.
Summary updated