Fault Localization in Constraint Programs - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2010

Fault Localization in Constraint Programs


Constraint programs such as those written in highlevel modeling languages (e.g., OPL [15], ZINC [14], or COMET [16]) must be thoroughly verified before being used in applications. Detecting and localizing faults is therefore of great importance to lower the cost of the development of these constraint programs. In a previous work, we introduced a testing framework called CPTEST enabling automated test case generation for detecting non-conformities [13]. In this paper, we enhance this framework to introduce automatic fault localization in constraint programs. Our approach is based on constraint relaxation to identify the constraint that is responsible of a given fault. CPTEST is henceforth able to automatically localize faults in optimized OPL programs. We provide empirical evidence of the effectiveness of this approach on classical benchmark problems, namely Golomb rulers, n-queens, social golfer and car sequencing.
Fichier principal
Vignette du fichier
ictai2010_CR.pdf (588.92 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-00699235 , version 1 (21-05-2012)


  • HAL Id : hal-00699235 , version 1


Nadjib Lazaar, Arnaud Gotlieb, Yahia Lebbah. Fault Localization in Constraint Programs. 22th Int. Conf. on Tools with Artificial Intelligence (ICTAI'2010), 2010, Arras, France. ⟨hal-00699235⟩
142 View
192 Download


Gmail Facebook X LinkedIn More