Skip to main content
Log in

Embedding Relaxations in Global Constraints for Solving TSP and TSPTW

  • Published:
Annals of Mathematics and Artificial Intelligence Aims and scope Submit manuscript

Abstract

Constraint Programming (CP) has been successfully applied to several combinatorial optimization problems. One of its advantages is the availability of complex global constraints performing efficient propagation and interacting with each other through shared variables. However, CP techniques have shown their limitations in dealing with optimization problems since the link between the objective function and problem decision variables is often quite loose and does not produce an effective propagation. We propose to integrate optimization components in global constraints, aimed at optimally solving a relaxation corresponding to the constraint itself. The optimal solution of the relaxation provides pieces of information which can be exploited in order to perform pruning on the basis of cost-based reasoning. In fact, we exploit reduction rules based on lower bound and reduced costs calculation to remove those branches which cannot improve the best solution found so far. The interest of integrating efficient well-known Operations Research (OR) algorithms into CP is mainly due to the smooth interaction between CP domain reduction and information provided by the relaxation acting on variable domains which can be seen as a communication channel among different techniques. We have applied this technique to symmetric and asymmetric Traveling Salesman Problem (TSP) instances both because the TSP is an interesting problem arising in many real-life applications, and because pure CP techniques lead to disappointing results for this problem. We have tested the proposed optimization constraints using ILOG solver. Computational results on benchmarks available from literature, and comparison with related approaches are described in the paper. The proposed method on pure TSPs improves the performances of CP solvers, but is still far from the OR state of the art techniques for solving the problem. However, due to the flexibility of the CP framework, we could easily use the same technique on TSP with Time Windows, a time constrained variant of the TSP. For this type of problem, we achieve results that are comparable with state of the art OR results.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. N. Ascheuer, M. Fischetti and M. Grötschel, Solving ATSP with time windows by branch-and-cut, Math. Programming (2001), to appear.

  2. E. Balas and N. Simonetti, Linear time dynamic programming algorithms for some classes of restricted TSP's (1996), unpublished.

  3. E. Balas and P. Toth, Branch and bound methods, in: The Travelling Salesman Problem, eds. E.L. Lawler, J.K. Lenstra, A.H.G. Rinnooy Kan and D.B. Shmoys (John Wiley and Sons, 1985).

  4. N. Beldiceanu and E. Contejean, Introducing global constraints in CHIP, Math. Comput. Modelling 20 (1994) 97-123.

    Google Scholar 

  5. H. Beringer and B. De Backer, Combinatorial problem solving in constraint logic programming with cooperating solvers, in: Logic Programming: Formal Methods and Practical Applications, eds. C. Beierle and L. Plumer (North Holland, 1995).

  6. J. Carlier and E. Pinson, An algorithm for solving job shop scheduling, Management Sci. 35 (1995) 164-176.

    Google Scholar 

  7. G. Carpaneto, S. Martello and P. Toth, Algorithms and codes for the assignment problem, Ann. Oper. Res. 13 (1988) 193-223.

    Google Scholar 

  8. Y. Caseau and F. Laburthe, Solving small TSPs with constraints, in: Proceedings of ICLP '97 (1997).

  9. Y. Caseau and F. Laburthe, Solving various weighted matching problems with constraints, in: Proceedings of CP '97 (1997).

  10. M. Dell'Amico and S. Martello, Linear assignment, in: Annotated Bibliographies in Combinatorial Optimization, eds. M. Dell'Amico, F. Maffioli and S. Martello (Wiley, 1997).

  11. M. Dincbas, P. Van Hentenryck and H. Simonis, Solving the car sequencing problems in Constraint Logic Programming, in: Proceedings of ECAI '88 (1988).

  12. M. Dincbas, P. Van Hentenryck and M. Simonis, Solving large combinatorial problems in logic programming, J. Logic Programming 8 (1990) 75-93.

    Google Scholar 

  13. M. Dincbas, P. Van Hentenryck, M. Simonis, A. Aggoun, T. Graf and F. Berthier, The constraint logic programming language CHIP, in: Proceedings of the International Conference on Fifth Generation Computer System (1988).

  14. Y. Dumas, J. Desrosiers, E. Gelinas and M.M. Solomon, An optimal algorithm for the traveling salesman problem with the time windows, Oper. Res. 43 (1995) 367-371.

    Google Scholar 

  15. M. Fischetti and P. Toth, An additive bounding procedure for the asymmetric traveling salesman problem, Math. Programming 53 (1992) 173-197.

    Google Scholar 

  16. M. Fischetti and P. Toth, An efficient algorithm for the min-sum arborescence problem on complete digraphs, ORSA J. Comput. 5 (1993) 426-434.

    Google Scholar 

  17. F. Focacci, A. Lodi and M. Milano, Cost-based domain filtering, in: Proceedings of CP '99 (1999).

  18. F. Focacci, A. Lodi and M. Milano, Solving tsp with time windows with constraints, in: Proceedings of ICLP '99 (1999).

  19. M.T. Hajian, H. El-Sakkout, M. Wallace, J.M. Lever and E.B. Richards, Towards a closer integration of finite domain propagation and simplex-based algorithms, technical report, IC-Parc (1995).

  20. W.D. Harvey and M.L. Ginsberg, Limited discrepancy search, in: Proceedings of IJCAI '95 (1995).

  21. P. Van Hentenryck, Constraint Satisfaction in Logic Programming (MIT Press, 1989).

  22. ILOG, ILOG Scheduler 4.4 Reference Manual.

  23. ILOG, ILOG Solver 4.4 Reference Manual.

  24. M. Jünger, G. Reinelt and G. Rinaldi, The travelling salesman problem, in: Annotated Bibliographies in Combinatorial Optimization, eds. M. Dell'Amico, F. Maffioli and S. Martello (Wiley, 1997).

  25. C.H. Papadimitriou and K. Stieglitz, Combinatorial Optimization: Algorithms and Complexity (Prentice-Hall, 1982).

  26. L. Perron, Integration into constraint programming and parallelization of OR/AI search methods, in: CP-AI-OR '99 Workshop on Integration of AI and OR Techniques in Constraint Programming for Combinatorial Optimization Problems (1999).

  27. G. Pesant, M. Gendreau, J.Y. Potvin and J.M. Rousseau, An exact constraint logic programming algorithm for the traveling salesman problem with time windows, Transportation Sci. 32 (1998) 12-29.

    Google Scholar 

  28. J.F. Puget, A C++ implementation of CLP, technical report 94-01 (ILOG Headquarters, 1994).

  29. J.C. Régin, A filtering algorithm for constraints of difference in CSPs, in: Proceedings of AAAI '94 (1994).

  30. Y. Rochat and E.D. Taillard, Probabilistic diversification and intensification in local search for vehicle routing, J. Heuristics 1 (1995) 147-167.

    Google Scholar 

  31. R. Rodosek, M. Wallace and M.T. Hajian, A new approach to integrating mixed integer programming and constraint logic programming, Ann. Oper. Res. 86 (1999) 63-87.

    Google Scholar 

  32. M.W.P. Savelsberg, Local search in routing poblem with time windows, Ann. Oper. Res. 4 (1985) 285-305.

    Google Scholar 

  33. M.M. Solomon, Algorithms for the vehicle routing and scheduling problem with time window constraints, Oper. Res. 35 (1987) 254-265.

    Google Scholar 

  34. E.D. Taillard, P. Badeau, M. Gendreau, F. Guertin and J.-Y. Potvin, A new neighborhood structure for the vehicle routing problems with time windows (1995), unpublished.

  35. M. Wallace, Practical applications of constraint programming, Constraints 1 (1996) 139-168.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Focacci, F., Lodi, A. & Milano, M. Embedding Relaxations in Global Constraints for Solving TSP and TSPTW. Annals of Mathematics and Artificial Intelligence 34, 291–311 (2002). https://doi.org/10.1023/A:1014492408220

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1023/A:1014492408220

Navigation