Applying Local Search to Disjunctive Temporal Problems

Michael D. Moffitt, Martha E. PollackIJCAI 2005

Abstract

Disjunctive Temporal Problems (DTPs) provide a robust framework for modeling complex temporal constraints in automated planning and scheduling. However, finding optimal or near-optimal solutions in overconstrained scenarios remains a significant computational challenge for traditional systematic solvers. This paper introduces Localitis, a local search algorithm that operates within the space of total time-point assignments. By discretizing infinite temporal domains into a manageable set of "significant values," Localitis achieves a 17-20x speedup over state-of-the-art systematic solvers in identifying high-quality approximate solutions.

Introduction

Temporal reasoning often involves constraints such as "Task A must occur at least 10 minutes before Task B, OR Task C must occur 5 minutes after Task D." These are formally represented as DTPs. While powerful, DTPs are notoriously difficult to solve, especially when no solution satisfies every constraint. In real-world applications like robot scheduling, finding the "best possible" solution—one that minimizes constraint violations—is often more critical than proving inconsistency.

Standard DTP solvers typically treat the problem as a meta-CSP, searching through combinations of disjuncts to find a consistent set. This approach is computationally expensive and struggles with the continuous nature of time. Localitis departs from this paradigm by applying local search techniques, such as GSAT and Tabu search, directly to time-point assignments.

The Localitis Algorithm

Localitis introduces several key innovations to adapt local search to the temporal domain:

  1. Total Assignment Search: Instead of searching the meta-CSP space, Localitis assigns specific time values to every point and iteratively improves these assignments to reduce the number of violated constraints.
  2. Discretization via Significant Values: To handle the infinite search space of continuous time, the authors identify "significant values." These are values that would make a constraint "active" (reducing its slack to zero). This strategy effectively maps a continuous problem onto a discrete, manageable neighborhood of candidate moves.
  3. Greedy Initialization: To provide a strong starting point, Localitis can be initialized using a brief run of a systematic solver (e.g., Maxilitis), rather than starting with random assignments.
  4. Tabu Tenure: To prevent the search from cycling in local minima, a "tabu list" tracks recently modified variables, preventing them from being changed again for a specified number of iterations.

Experimental Evaluation

The algorithm was evaluated using a standard random DTP generator. The test set consisted of problems with 25 time points ($N$), 175 constraints ($m$), and 2 disjuncts per constraint ($k$). With a high constraint density ratio ($R=7$), these problems were intentionally difficult and likely overconstrained.

Results and Discussion

Localitis demonstrated a substantial performance advantage over the systematic solver Maxilitis. As shown in Figure 1, Localitis (Normal) reaches a lower number of violations significantly faster than the systematic approach. Specifically, Localitis required only 0.29 seconds to reach a solution quality that took Maxilitis 5 seconds to achieve. Within a 5-second window, Localitis averaged approximately 4 violations, compared to 7.12 for the systematic solver.

Comparison of Localitis variants and the systematic solver Maxilitis.

The effectiveness of the tabu search mechanism was also confirmed. Figure 2 illustrates that a small tabu tenure (e.g., $tt=2$) significantly improves convergence compared to a basic greedy search ($tt=0$), which is prone to cycling.

Impact of tabu tenure (tt) on the convergence of Localitis.

Conclusion

Localitis represents a significant shift in temporal reasoning by prioritizing local search over systematic backtracking for overconstrained DTPs. The discretization of the temporal domain via zero-slack moves allows for efficient neighborhood exploration. Future work may involve refining the cost function to account for the magnitude of violations and extending the technique to DTPs with Preferences (DTPPs).

Summary updated

BibTeX
@inproceedings{moffitt2005applying,
  author = {Michael D. Moffitt and Martha E. Pollack},
  title = {{Applying Local Search to Disjunctive Temporal Problems}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2005},
}
Figure