The ARGMAX Constraint

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review


TheARGMAX function returns the index of the (first copy of the) maximum value occuring in a list of values. ARGMAX is important in models where we choose a characteristic value based on a seperate criteria, and for modelling neural networks which make use of ARGMAX in their definition. The ARGMAX constraint has been studied for the special case of its use to find the index of the first true in a list of Booleans, since this is useful for encoding if-then-else chains. Here we examine the general argmax constraint for the first time. We define an efficient domain consistent propagator and a decomposition for integers which implements domain consistency.

Original languageEnglish
Title of host publicationPrinciples and Practice of Constraint Programming
Subtitle of host publication26th International Conference, CP 2020 Louvain-la-Neuve, Belgium, September 7–11, 2020 Proceedings
EditorsHelmut Simonis
Place of PublicationCham Switzerland
Number of pages15
ISBN (Electronic)9783030584757
ISBN (Print)9783030584740
Publication statusPublished - 2020
EventInternational Conference on Principles and Practice of Constraint Programming 2020 - Louvain-la-Neuve, Belgium
Duration: 7 Sep 202011 Sep 2020
Conference number: 26th (Proceedings) (Website)

Publication series

NameLecture Notes in Computer Science
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349


ConferenceInternational Conference on Principles and Practice of Constraint Programming 2020
Abbreviated titleCP2020
Internet address

Cite this