Skip to main content
Log in

Weighted matching as a generic pruning technique applied to optimization constraints

  • Published:
Annals of Operations Research Aims and scope Submit manuscript

Abstract

We study the application of matching theory within a constraint programming framework. In this work we describe a filtering scheme based on weighted matchings. A first benefit of our pruning technique comes from the fact that it can be applied on various optimization constraints. In a number of important cases our method achieves domain consistency in polynomial time. A key feature in our implementation is the use of decomposition theory. The paper compares some of the optimization constraints reported in the literature and shows how they can be solved with the help of the weighted matching.

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.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15

Similar content being viewed by others

Notes

  1. In terms of linear programming potentials are called dual variables and reduced weights are slacks.

  2. A bipartite graph \(G\) with bipartition \((V_1,V_2)\) is called convex on \(V_2\) if there exists an ordering of \(V_2\) so that for any \(x \in V_1\) the set \(\varGamma (x)\) forms an interval in the ordering.

  3. The diameter of a connected digraph is the maximal distance between two of its vertices.

References

  • Ahuja, R. K., Magnanti, T. L., & Orlin, J. B. (1993). Network flows: Theory, Algorithms and Applications. New Jersey: Prentice Hall.

  • Apt, K. R. (2003). Principles of constraint programming. Cambridge: Cambridge University Press.

    Book  Google Scholar 

  • Ball, M. O., & Derigs, U. (1983). An analysis of alternative strategies for implementing matching algorithms. Networks, 13(4), 517–549.

    Article  Google Scholar 

  • Bayati, M., Borgs, C., Chayes, J., & Zecchina, R. (2011). Belief-propagation for weighted \(b\)-matchings on arbitrary graphs and its relation to linear programs with integer solutions. SIAM Journal on Discrete Mathematics, 25(2), 989–1011.

    Article  Google Scholar 

  • Beldiceanu, N. (2001). Pruning for the minimum constraint family and for the number of distinct values constraint family. Lecture Notes in Computer Science, 2239, 211–224.

    Article  Google Scholar 

  • Beldiceanu, N., Carlsson, M., & Rampon, J.-X. (2012) Global constraint catalog. Technical Report T2012–03, Swedish Institute of Computer Science, October 4, 2012.

  • Beldiceanu, N., Carlsson, M., & Thiel., S. (2002) Cost-filtering algorithms for the two sides of the sum of weights of distinct values constraint. Technical Report T2002–14, Swedish Institute of Computer Science, 2002.

  • Beldiceanu, N., & Contejean, E. (1994). Introducing global constraints in CHIP. Mathematical and Computer Modelling, 20(12), 97–123.

    Article  Google Scholar 

  • Benchimol, P., van Hoeve, W.-J., Régin, J-Ch., Rousseau, L.-M., & Rueher, M. (2012). Improved filtering for weighted circuit constraints. Constraints, 17(3), 205–233.

    Article  Google Scholar 

  • Bessiere, C., Hebrard, E., Hnich, B., Kiziltan, Z., & Walsh, T. (2005). Filtering algorithms for the NVALUE constraint. Lecture Notes in Computer Science, 3524, 79–93.

    Article  Google Scholar 

  • Bessiere, C., Hebrard, E., Hnich, B., Kiziltan, Z., & Walsh, T. (2006). Among, common and disjoint constraints. Lecture Notes in Computer Science, 3978, 29–43.

  • Bessiere, C., Hebrard, E., Hnich, B., & Walsh, T. (2004). The complexity of global constraints. National Conference of Artificial Intelligence (AAAI), pp. 112–117, 2004.

  • Bessiere, C., Hebrard, E., Hnich, B., & Walsh, T. (2004). The tractability of global constraints. Lecture Notes in Computer Science, 3258, 716–720.

    Article  Google Scholar 

  • Caseau, Y., & Laburthe, F. (1997). Solving small TSPs with constraints. Proceedings of the 14th International Conference on Logic Programming, pp. 316–330, 1997.

  • Caseau, Y., & Laburthe, F. (1997). Solving various weighted matching problems with constraints. Lecture Notes in Computer Science, 1330, 17–31.

    Article  Google Scholar 

  • Cormen, T. H., Leiserson, C. E., Rivest, R. L., & Stein, C. (2001). Introduction to algorithms (2nd ed.). Cambridge: MIT Press/McGraw-Hill.

    Google Scholar 

  • Cymer, R. (2012). Dulmage–Mendelsohn canonical decomposition as a generic pruning technique. Constraints, 17(3), 234–272.

    Article  Google Scholar 

  • Cymer, R. (2013). Gallai–Edmonds decomposition as a pruning technique. Central European Journal of Operations Research, 2013.

  • Dechter, R. (2003). Constraint processing. San Francisco: Morgan Kaufmann Publishers.

    Google Scholar 

  • Fahle T. (2002) . Cost based filtering versus upper bounds for maximum clique. Proceedings of the 4th International Workshop on Integration of AI and OR Techniques in Constraint Programming for Combinatorial Optimization Problems (CPAIOR), Le Croisic, France, pp. 93–107, 2002.

  • Focacci, F., Lodi, A., & Milano, M. (1999). Cost-based domain filtering. Lecture Notes in Computer Science, 1713, 189–203.

    Article  Google Scholar 

  • Gabow H. N. (1983). An efficient reduction technique for degree-constrained subgraph and bidirected network flow problem. Proceedings of the 15th Annual ACM Symposium on Theory of Computing, New York, pp. 448–456, 1983.

  • Gabow H. N. (1985). A scaling algorithm for weighted matching on general graphs. Proceedings of the 26th Annual Symposium on Foundations of Computer Science, New York, pp. 90–100, 1985.

  • Gabow, H. N. (1990). Data structures for weighted matching and nearest common ancestors with linking (pp. 434–443). Proceedings of the First Annual ACM-SIAM Symposium on Discrete Algorithms Philadephia.

  • Gabow, H. N., & Tarjan, R. E. (1985). A linear-time algorithm for a special case of disjoint set union. Journal of Computer and System Sciences, 30, 209–221.

    Article  Google Scholar 

  • Gabow, H. N., & Tarjan, R. E. (1989). Faster scaling algorithms for network problems. SIAM Journal on Computing, 18(5) , 1013–1036.

    Google Scholar 

  • Gabow, H. N., & Tarjan, R. E. (1991). Faster scaling algorithms for general graph-matching problems. Journal of the Association for Computing Machinery, 38, 815–853.

    Article  Google Scholar 

  • Galil, Z., Micali, S., & Gabow, H. N. (1986). An O(EV log V) algorithm for finding a maximal weighted matching in general graphs. SIAM Journal on Computing, 15(1), 120–130.

    Google Scholar 

  • Garey, M. R., & Johnson, D. S. (1979). Computers and intractability: A guide to the theory of NP-completeness. New York: Freeman.

    Google Scholar 

  • Held, M., & Karp, R. M. (1970). The traveling-salesman problem and minimum spanning trees. Operations Research, 18(6), 1138–1162.

    Article  Google Scholar 

  • Held, M., & Karp, R. M. (1971). The traveling-salesman problem and minimum spanning trees: Part II. Mathematical Programming, 1, 6–25.

    Article  Google Scholar 

  • Hopcroft, J. E., & Karp, R. M. (1973). An \(O(n^{5/2})\) algorithm for maximum matchings in bipartite graphs. SIAM Journal on Computing, 2(4), 225–231.

    Article  Google Scholar 

  • Kocjan, W., Kreuger, P., & Lisper, B. (2004). Symmetric cardinality constraint with costs. Technical Report: MRTC, Mälardalen University.

  • Lovász, L., & Plummer, M. D. (1986). Matching theory. Annals of discrete mathematics (29). Amsterdam: North-Holland.

    Google Scholar 

  • M. J. Maher (2002). Analysis of a global contiguity constraint. Workshop on Rule-Based Constraint Reasoning and Programming, 2002.

  • Micali S. & Vazirani V. V. (1980). An \(O(\sqrt{|V|}\cdot |E|)\) algorithm for finding maximum matching in general graphs. Proceedings of the 21st Annual Symposium on Foundations of Computer Science, pp. 17–27, 1980.

  • Pachet, F., & Roy, P. (1999). Automatic generation of music programs. Lecture Notes in Computer Science, 1713, 331–345.

    Article  Google Scholar 

  • Régin, J.-C. (2002). Cost-based arc consistency for global cardinality constraints. Constraints, 7, 387–405.

    Article  Google Scholar 

  • Régin, J.-C. (2003). Using constraint programming to solve the maximum clique problem. Lecture Notes in Computer Science, 2833, 634–648.

    Article  Google Scholar 

  • Régin, J.-C. (2008). Simpler and incremental consistency checking and arc consistency filtering algorithms for the weighted spanning tree constraint. Lecture Notes in Computer Science, 5015, 233–247.

  • Régin, J.-C., Rousseau, L.-M., Rueher, M., & van Hoeve, W.-J. (2010). The weighted spanning tree constraint revisited. Lecture Notes in Computer Science, 6140, 287–291.

  • Sellmann M. (2002). Reduction techniques in constraint programming and combinatorial optimization. Ph. D. Thesis, Paderborn University, Germany, 2002.

  • Spencer, T. H., & Mayr, E. W. (1984). Node weighted matching. Lecture Notes in Computer Science, 172, 454–464.

    Article  Google Scholar 

  • Thiel S. (2004). Efficient algorithms for constraint propagation and for processing tree description. Ph. D. Thesis, Saarlandes University, Germany, 2004.

  • Tsang, E. (1993). Foundations of constraint satisfaction. London: Academic Press.

    Google Scholar 

  • Tutte, W. T. (1954). A short proof of the factor theorem for finite graphs. Canadian Journal of Mathematics, 6, 347–352.

    Article  Google Scholar 

  • Tutte, W. T. (1981). Graph factors. Combinatorica, 1, 79–97.

    Article  Google Scholar 

  • Vogel, W. (1963). Bemerkungen zur Theorie der Matrizen aus Nullen und Einsen. Archiv der Mathematik (Archives of Mathematics), 14, 139–144. In German.

    Article  Google Scholar 

Download references

Acknowledgments

The author would like to thank the anonymous reviewers whose valuable comments and suggestions improved the presentation of this paper.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Radosław Cymer.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Cymer, R. Weighted matching as a generic pruning technique applied to optimization constraints. Ann Oper Res 217, 165–211 (2014). https://doi.org/10.1007/s10479-014-1582-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10479-014-1582-x

Keywords

Navigation