and again, it can be checked by hand.
In the above example we applied the simplest
methodology for constraint modeling applied to solv-
ing an abductive problem of finding detailed numeri-
cal characteristics — in fact numerical models — of
minimal diagnoses. The basic stages can be summa-
rized as follows:
• take a minimal diagnosis for detailed examina-
tion; it can be composed of k components,
• for any component define one or more (as in the
case of multipliers) variables with use of which
one can capture the idea of the misbehavior of the
component,
• define the domains of the variables (a set neces-
sary in CP with finite domains),
• define the constraints imposed on these variables
for the analyzed case, and finally
• using the intended definition of components in
presence of the assumed fault, define the con-
straints modeling the work of all the components
(the correct ones and the faulty ones).
The flow (links) between the component are defined
by the appropriate use of defined input-output and in-
ternal variables. Note that the direction of flow, or
causality is not of interest here, and one does not need
to bother about that. In fact, what we look for is a sta-
ble, numerical solution consistent with the diagnoses
and the observations. Such a model may be used for
further analysis and elimination of unfeasible diag-
noses.
In case of many potential diagnoses, the procedure
should be repeated for each diagnosis.
6 CONCLUSIONS
The paper presents a note on applying Constraint Pro-
gramming for enriching abductive reasoning with ex-
act (numerical) knowledge. In this way not only log-
ical or qualitative solutions are obtained (of the form
yes/no), but detailed numerical characteristics of the
generated solutions are provided. This kind of ap-
proach we call constructive abduction.
The models presented in Section 5 were relatively
simple, and provided for all four diagnoses separately.
But it seems straightforward to build one, general
model by introducing another five binary variables for
representing if a component is faulty or not. In this
way appropriate subset of all constraints can be made
active, while inappropriate constraints are eliminated.
Finally, the focus of the paper was on a diagnostic
example, but it seems that this kind of approach can
be applied in a wide spectrum of abductive problems.
ACKNOWLEDGMENTS
The presented research was carried out within
AGH University of Science and Technology Internal
Project No. 11.11.120.859.
REFERENCES
Cordier, M.-O. and et al. (2000a). Ai and automatic con-
trol approaches of model-based diagnosis: Links and
underlying hypotheses. In Edelmayer, A. M., editor,
Preprints: SAFEPROCESS 2000, 4th IFAC Sympo-
sium on Fault Detection, Supervision and Safety for
Technical Processes, pages 274–279. IFAC.
Cordier, M.-O. and et al. (2000b). A comparative analysis of
ai and control theory approaches to model-based diag-
nosis. In Horn, W., editor, ECAI’2000. 14th European
Conference on Artificial Intelligence, pages 136–140.
IOS Press.
Davis, R. and Hamscher, W. (1992). Model-Based Reason-
ing: Troubleshooting, pages 3–24. Morgan Kaufmann
Publishers, San Mateo, CA.
Dechter, R. (2003). Constraint Processing. Elsevier Sci-
ence.
Hamscher, W., Console, L., and de Kleer, J., editors (1992).
Readings in Model-Based Diagnosis. Morgan Kauf-
mann, San Mateo, CA.
Korbicz, J., Ko
´
scielny, J., Kowalczuk, Z., and Cholewa, W.,
editors (2004). Fault Diagnosis. Models, Artificial In-
telligence, Applications. Springer-Verlag, Berlin.
Lig˛eza, A. (2004). Selected Methods of Knowledge Engi-
neering in System Diagnosis, chapter 16, pages 633–
668. In: (Korbicz et al., 2004). Springer-Verlag.
Lig˛eza, A. (2006). Logical Foundations for Rule-Based Sys-
tems. Springer-Verlag, Berlin, Heidelberg.
Lig˛eza, A. (2009). A Constraint Satisfaction Framework
for Diagnostic Problems, pages 255–262. Control and
Computer Science. Information Technology, Control
Theory, Fault and System Diagnosis. Pomeranian Sci-
ence and Technology Publisher PWNT, Gda
´
nsk.
Lig˛eza, A. and Fuster-Parra, P. (1997). And/or/not causal
graphs – a model for diagnostic reasoning. Ap-
plied Mathematics and Computer Science, Vol. 7, No.
1:185–203.
Lig˛eza, A. and Ko
´
scielny, J. M. (2008). A new approach
to multiple fault diagnosis. combination of diagnostic
matrices, graphs, algebraic and rule-based models. the
case of two-layer models. Int. J. Appl. Math. Comput.
Sci., 18(4):465–476.
Reiter, R. (1987). A theory of diagnosis from first princi-
ples. Artificial Intelligence, 32:57–95.
Travé-Massuyès, L. (2014). Bridges between diagnosis the-
ories from control and ai perspectives. In Korbicz, J.
and Kowal, M., editors, Intelligent Systems in Tech-
nical and medila Diagnosis, pages 3–28. Springer-
Verlag.
Towards Constructive Abduction - Solving Abductive Problems with Constraint Programming
357