Skip to main content

Local Alterations of the Lagrange Multipliers for Enhancing the Filtering of the AtMostNValue Constraint

  • Conference paper
  • First Online:
Integration of Constraint Programming, Artificial Intelligence, and Operations Research (CPAIOR 2024)

Abstract

The reduced cost filtering is a technique that consists in filtering a constraint using the reduced cost of a linear program that encodes this constraint. Sellmann [16] shows that while doing a Lagrangian relaxation of a constraint, suboptimal Lagrange multipliers can provide more filtering than optimal ones. Boudreault and Quimper [5] make an algorithm that locally altered the Lagrange multipliers for the WeightedCircuit constraint to enhance filtering and achieve a speedup of 30%. We seek to design an algorithm like Boudreault and Quimper, but for the AtMostNValue constraint. Based on the work done by Cambazard and Fages [7] on this constraint, we use a subgradient algorithm which takes into consideration the reduced cost to boost the Lagrange multipliers in the optimal filtering direction. We test our methods on the dominating queens and the p-median problem. On the first, we record a speedup of 71% on average. On the second, there are three classes of instances. On the first two, we have an average speedup of 33% and 8%. On the hardest class, we find up to 13 better solutions than the previous algorithm on the 30 instances in the class.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    https://github.com/frbert3/LocalAlterationsAlgorithmAtMostNValue.git.

References

  1. Beldiceanu, N.: Pruning for the minimum constraint family and for the number of distinct values constraint family. In: Principles and Practice of Constraint Programming, pp. 211–224 (2001)

    Google Scholar 

  2. Beldiceanu, N., Carlsson, M., Rampon, J.X.: Global constraint catalog (2010)

    Google Scholar 

  3. Bertsekas, D.P.: On the Goldstein-Levitin-Polyak gradient projection method. IEEE Trans. Autom. Control 21(2), 174–184 (1976)

    Article  MathSciNet  Google Scholar 

  4. Bessiere, C., Hebrard, E., Hnich, B., Kiziltan, Z., Walsh, T.: Filtering algorithms for the nv alue constraint. Constraints 11, 271–293 (2006)

    Article  MathSciNet  Google Scholar 

  5. Boudreault, R., Quimper, C.G.: Improved cp-based lagrangian relaxation approach with an application to the tsp. In: IJCAI, pp. 1374–1380 (2021)

    Google Scholar 

  6. Boyd, S., Xiao, L., Mutapcic, A.: Subgradient methods. lecture notes of EE392o, Stanford University. Autumn Quart. 2004, 2004–2005 (2003)

    Google Scholar 

  7. Cambazard, H., Fages, J.G.: New filtering for atmostnvalue and its weighted variant: a Lagrangian approach. Constraints 20(3), 362–380 (2015)

    Article  MathSciNet  Google Scholar 

  8. Fisher, M.L.: An applications oriented guide to Lagrangian relaxation. Interfaces 15(2), 10–21 (1985)

    Article  Google Scholar 

  9. Focacci, F., Lodi, A., Milano, M.: Cost-based domain filtering. In: International Conference on Principles and Practice of Constraint Programming, pp. 189–203 (1999)

    Google Scholar 

  10. Fumero, F.: A modified subgradient algorithm for Lagrangean relaxation. Comput. Oper. Res. 28(1), 33–52 (2001)

    Article  MathSciNet  Google Scholar 

  11. Held, M., Wolfe, P., Crowder, H.P.: Validation of subgradient optimization. Math. Program. 6(1), 62–88 (1974)

    Article  MathSciNet  Google Scholar 

  12. Kochetov, Y., Ivanenko, D.: Computationally difficult instances for the uncapacitated facility location problem. In: Metaheuristics: Progress as Real Problem Solvers, pp. 351–367 (2005)

    Google Scholar 

  13. Lemaréchal, C.: Lagrangian relaxation. In: Computational Combinatorial Optimization: Optimal or Provably Near-Optimal Solutions, pp. 112–156 (2001)

    Google Scholar 

  14. Petit, T., Régin, J.C., Bessiere, C.: Specific filtering algorithms for over-constrained problems. In: Principles and Practice of Constraint Programming, pp. 451–463 (2001)

    Google Scholar 

  15. Polyak, B.T.: Minimization of unsmooth functionals. USSR Comput. Math. Math. Phys. 9(3), 14–29 (1969)

    Article  Google Scholar 

  16. Sellmann, M.: Theoretical foundations of cp-based lagrangian relaxation. In: Principles and Practice of Constraint Programming, pp. 634–647 (2004)

    Google Scholar 

Download references

Acknowledgement

We thank Hadrien Cambazard for sharing with us his code for the \(\text{ AtMostNValue }\). It served as a thorough guide for the present work.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Claude-Guy Quimper .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Berthiaume, F., Quimper, CG. (2024). Local Alterations of the Lagrange Multipliers for Enhancing the Filtering of the AtMostNValue Constraint. In: Dilkina, B. (eds) Integration of Constraint Programming, Artificial Intelligence, and Operations Research. CPAIOR 2024. Lecture Notes in Computer Science, vol 14742. Springer, Cham. https://doi.org/10.1007/978-3-031-60597-0_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-60597-0_5

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-60596-3

  • Online ISBN: 978-3-031-60597-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics