Hostname: page-component-6766d58669-rxg44 Total loading time: 0 Render date: 2026-05-16T10:38:11.724Z Has data issue: false hasContentIssue false

Logic-Based Benders Decomposition in Answer Set Programming for Chronic Outpatients Scheduling

Published online by Cambridge University Press:  21 July 2023

PAOLA CAPPANERA
Affiliation:
DINFO, Università degli Studi di Firenze, Italy (e-mail: paola.cappanera@unifi.it)
MARCO GAVANELLI
Affiliation:
DE, Università degli Studi di Ferrara, Italy (e-mails: marco.gavanelli@unife.it, maddalena.nonato@unife.it)
MADDALENA NONATO
Affiliation:
DE, Università degli Studi di Ferrara, Italy (e-mails: marco.gavanelli@unife.it, maddalena.nonato@unife.it)
MARCO ROMA
Affiliation:
DINFO, Università degli Studi di Firenze, Italy (e-mail: marco.roma@unifi.it)
Rights & Permissions [Opens in a new window]

Abstract

In answer set programming (ASP), the user can define declaratively a problem and solve it with efficient solvers; practical applications of ASP are countless and several constraint problems have been successfully solved with ASP. On the other hand, solution time usually grows in a superlinear way (often, exponential) with respect to the size of the instance, which is impractical for large instances. A widely used approach is to split the optimization problem into subproblems (SPs) that are solved in sequence, some committing to the values assigned by others, and reconstructing a valid assignment for the whole problem by juxtaposing the solutions of the single SPs. On the one hand, this approach is much faster due to the superlinear behavior; on the other hand, it does not provide any guarantee of optimality: committing to the assignment of one SP can rule out the optimal solution from the search space. In other research areas, logic-Based Benders decomposition (LBBD) proved effective; in LBBD, the problem is decomposed into a master problem (MP) and one or several SPs. The solution of the MP is passed to the SPs that can possibly fail. In case of failure, a no-good is returned to the MP that is solved again with the addition of the new constraint. The solution process is iterated until a valid solution is obtained for all the SPs or the MP is proven infeasible. The obtained solution is provably optimal under very mild conditions. In this paper, we apply for the first time LBBD to ASP, exploiting an application in health care as case study. Experimental results show the effectiveness of the approach. We believe that the availability of LBBD can further increase the practical applicability of ASP technologies.

Information

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BYCreative Common License - SA
This is an Open Access article, distributed under the terms of the Creative Commons Attribution-ShareAlike licence (http://creativecommons.org/licenses/by-sa/4.0/), which permits re-use, distribution, and reproduction in any medium, provided the same Creative Commons licence is used to distribute the re-used or adapted article and the original article is properly cited.
Copyright
© The Author(s), 2023. Published by Cambridge University Press
Figure 0

Algorithm 1 LBBD scheme in case the subproblem is a feasibility problem.

Figure 1

Fig. 1. Interaction scheme in LBBD.

Figure 2

Listing 1. Date assignment

Figure 3

Listing 2. Daily agendas

Figure 4

Algorithm 2 LBBD with multi-shot solving

Figure 5

Fig. 2. Number of solved instances vs running time.

Figure 6

Fig 3. Run time vs number of services – all instances.

Figure 7

Fig. 4. Run time vs number of services – instances without timeout.