<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Master Surgical Scheduling via Answer Set Programming Tested on Real Data</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Giuseppe Galatà</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Marco Maratea</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Marco Mochi</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>SurgiQ srl</institution>
          ,
          <addr-line>Genova</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Calabria</institution>
          ,
          <addr-line>Rende</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>University of Genoa</institution>
          ,
          <addr-line>Genova</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The problem of finding a Master Surgical Schedule (MSS) consists of scheduling different specialties to the operating rooms of a hospital clinic. To produce a proper MSS, each specialty must be assigned to some operating rooms. The number of assignments is different for each specialty and can vary during the considered planning horizon. Realizing a satisfying schedule is of upmost importance for a hospital clinic. Recently, a compact solution based on Answer Set Programming (ASP) to the MSS problem has been introduced and tested with satisfying results, but only on synthetic data. In this paper, we also adapt the encoding and test our overall solution on real data from ASL1 Liguria in Italy. The experiments show that our ASP solution provides satisfying results also when tested on real data.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Healthcare</kwd>
        <kwd>Scheduling</kwd>
        <kwd>Answer Set Programming</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Digital Health, defined as the usage of information and communication technologies in medicine
and in the management processes of healthcare, arose several years ago, but has gained increasing
importance in recent years. Thanks to new technologies and also due to new challenges such as
an aging society, the COVID-19 pandemic and the need to reduce high costs. One of the major
problems related to modern hospitals are long waiting lists that reduce patients’ satisfaction and
the level of care offered to them. The Master Surgical Schedule (MSS) represents which specialty
is assigned to each operating room in a particular day and session. The administrative practices
of surgical departments on this task can have a large impact on hospital costs, patient outcomes
and on the overall efficiency of a hospital. Many papers have analyzed this problem (see for
example [
        <xref ref-type="bibr" rid="ref1 ref2 ref3 ref4">1, 2, 3, 4</xref>
        ]); in particular, the introduction of an effective MSS led to efcfiiency gains
at the operating room department: At Beatrix hospital the annual budget for operating room
hours is reduced from 12,848 hours to 9,972 hours (22.4% reduction) while the patients operated
increased by 7.7% in 2007 respect to 2006, using the same capacity as at the same time surgery
duration decreases by 9.0% [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. The MSS is often considered as an already available input in
many healthcare problem solutions but, due to the different aspects that need to be taken into
account for computing a valid schedule, the MSS is an interesting combinatorial problem that
deserves its own interest. Going in some more details, the MSS problem is the task of assigning
the specialties to the available operating rooms in the different days and sessions, taking into
account that not all the specialties need to be assigned the same amount of time and that, during
the considered days, the amount of time each specialty should be assigned can vary. The aim
of the MSS is to support the hospital to organize the resources and plan the different specialties
in the next weeks/months. In particular, by developing a MSS early a hospital can properly
manage the personnel and the resources, thus leading to a reduction of the costs. Moreover,
by helping the hospital to manage the surgeries and reducing the surgery waiting list, a proper
solution to the MSS problem is vital to improve the degree of patients’ satisfaction. Complex
combinatorial problems, possibly involving optimizations, such as the MSS problem, are usually
the target applications of AI languages such as Answer Set Programming (ASP). Indeed ASP,
thanks to its readability and the availability of efficient solvers, e.g., CLINGO [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] and WASP [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ],
that originates from the relation between answer set and propositional satisfiability procedures
[
        <xref ref-type="bibr" rid="ref8 ref9">8, 9</xref>
        ], and driven by ASP competitions (see, e.g., [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]) has been successfully employed for
solving hard combinatorial problems in several research areas, and it has been also employed
to solve many scheduling problems [
        <xref ref-type="bibr" rid="ref11 ref12 ref13 ref14 ref15">11, 12, 13, 14, 15</xref>
        ], also in industrial contexts (see, e.g.,
[
        <xref ref-type="bibr" rid="ref16 ref17 ref18">16, 17, 18</xref>
        ] for detailed descriptions of ASP applications).
      </p>
      <p>
        In this paper we first present a mathematical formulation of the MSS problem. We then
apply ASP to solve the MSS problem, by presenting a compact ASP encoding obtained by
modularly representing input specifications in ASP, and then running an experimental analysis
on randomly generated MSS benchmarks, obtained by varying the number of days and trying
different scenarios [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ]. Further, as the main contribution of this work, we adapt the encoding
and test our solution on real data from ASL1 Liguria in Italy. Results using the state-of-the-art
ASP solver CLINGO show that ASP is a suitable solving methodology also for the MSS problem,
since we are able to solve optimally instances of the MSS problem in few seconds even when
considering long planning horizon.
      </p>
      <p>The paper is structured as follows. Sections 2 and 3 present an informal description of the
MSS problem, and its precise mathematical formulation, respectively. Then, Section 4 shows
our ASP encoding, whose experimental evaluation is presented in Section 5. Section 6 adapts
and test the solution on real data. The paper ends by discussing related work and conclusions in
Section 7 and 8, respectively.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Problem Description</title>
      <p>With the computation of an MSS, a hospital can see in which days, sessions and operating rooms
(ORs) each specialty will do the surgeries. This is important since by looking at the MSS the
hospital can manage the personnel and the resources in advance. The MSS is thus often scheduled
for long periods of time and as soon as possible, to be able to assign the surgery to the patients in
time and to properly organize the personnel. To schedule the MSS a hospital should evaluate the
percentage of time that needs to be assigned to each specialty and the allowed errors for such a
period of time, in order to better respond to the patients’ needs. The percentage of assignments
is evaluated as the number of times each specialty is assigned divided by the total number of
sessions available in the period considered. To produce a proper schedule, the solution must
assign the specialties taking into account the percentage targets and the allowed errors of each
specialty. At most n sessions are associated to each day, where n is equal to the maximum number
of sessions that could be assigned to an OR. Each session is identified by an id. For example, in a
hospital with the maximum number of sessions equal to 2, day 1 will be linked to sessions 1 and 2,
while day 2 will be linked to sessions 3 and 4, and so on for all the remaining days. Each session
is then linked to all the ORs and the scheduler must assign a specialty to each session. Since the
MSS is planned for a long period of time, hospitals could desire that the target assignment of
each specialty is respected not for all the considered days, but may vary, e.g., on a monthly or
weekly basis. Another aspect that could change during the considered period and between the
ORs are the sessions. The usage of each OR is often splitted in two sessions for each day but,
sometimes, some ORs can be split in a different number of sessions, higher or used even for just
one session. In particular, the single-session solution could be used when a specialty requires
particular resources and the time to prepare them is long enough that changing the specialty at
mid day would be a waste of time. Moreover, some ORs could be unavailable in some days and
the scheduler must be able to consider these unavailability.</p>
      <p>Overall, the MSS problem takes as input the number of ORs and specialties, the number
of days to consider for the scheduling, the number of sessions for each day, and the different
target values for each specialty, and computes the assignment of the different specialties to the
available ORs of a hospital in the considered planning horizon. An optimal solution minimizes
the difference between the percentage of usage of each specialty and the target value of each
period. An example of MSS is presented in Table 1. In particular, the table is the result obtained
by our solution, that we will show later in the paper, considering 90 days and fixed target value
for each month. Moreover, we considered a hospital with 10 ORs, each splitted in 2 sessions in
each day, and 5 specialties (these numbers corresponding to hospitals of small-medium size in
Italy) SP1 . . . SP5 : The table shows the MSS for the first 7 days of the solution. In particular,
each row represents a day and the sessions linked to that day, the columns report the ORs, and the
intersection shows the specialty assigned to the OR in that day and session.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Mathematical formulation of the MSS problem</title>
      <p>In this section, we provide a mathematical formulation of the basic version of the problem (called
Scenario A later).</p>
      <p>Definition 1. Let
• day be a constant that is equal to the number of days considered;
• max_session be a constant that is equal to the maximum number of session associated to
an operating room in a day;
• s_count be a constant that is equal to day × max_session and represents the number of
sessions that must be assigned to each operating room;
• D = {t : t ∈ [1..day]} be the set of all days;</p>
      <p>Let mss : OR × S × SP D ↦→ {0, 1} be a function such that mss(o, s, sp, d) = 1 if the session s in
the day d and in the operating room o is assigned to the specialty sp, and 0 otherwise. Moreover,
for a given mss, let Amss = {(o, s, sp, d) : o ∈ OR, s ∈ S, sp ∈ SP, d ∈ D, mss(o, s, sp, d) = 1}.</p>
      <p>Then, given sets OR, SP, S, D, DD and functions δ , ρ, ε, ω, ζ , the MSS problem is defined as
the problem of finding a schedule x, such that
(c1) |{ρ(o, d) = s}|=1 ∀o ∈ OR, ∀d ∈ D, ∀s ∈ S;
(c2) |{sp : mss(o, s, sp, d) = 1}|=1 ∀ o ∈ OR, ∀ s ∈ S, ∀ sp ∈ SP, ∀ d ∈ D, ρ(o, d) = s;
(c3) |{mss(o, s, sp, d) = 1}|=0 ∀ o ∈ OR, ∀ s ∈ S, ∀ sp ∈ SP, ∀ d ∈ D, ρ(o, d) = s, δ (or, sp) = 0;
(c4) |{mss(o, s, sp, d) = 1}|=0 ∀ o ∈ OR, ∀ s ∈ S, ∀ sp ∈ SP, ∀ d ∈ D, ρ(o, d) ̸= s;
(c5) ζ (sp, d1, d2) &gt; 0 ∀ sp ∈ O, ∀ (d1, d2) ∈ DD;
(c6) |ε(sp, d1, d2) − ζ (sp, d1, d2)| ≤ ω(sp, d1, d2) ∀ sp ∈ O, ∀ (d1, d2) ∈ DD;</p>
      <p>Condition (c1) ensures that at each operating room is assigned to a session scount times.
Condition (c2) ensures that each operating room, in each day and session is assigned to exactly one
specialty. Condition (c3) ensures that no operating room is assigned to a not allowed specialty.
Condition (c4) ensures that each specialty is assigned to an operating room in the right session
and day. Condition (c5) ensures that the percentage of times a specialty is assigned is bigger than
0 in every range of days required. Condition (c6) ensures that the percentage target of time a
specialty is assigned minus the actual percentage is less than the allowed error.
Definition 2 (Distance target percentage). Given a solution mss,
let tmss = ∑ | ε(sp, d1, d2) − ζ (sp, d1, d2) | . Intuitively, tmss represents the sum of
sp∈SP,(d1,d2)∈DD;
the distance between the target percentage and the actual percentage of times each specialty is
assigned to the operating rooms in the range between d1 and d2.</p>
      <p>Definition 3 (Optimal solution). A solution mss is said to dominate a solution mss’ if |tmss| &lt;
|tmss′ |. A solution is optimal if it is not dominated by any other solution.</p>
    </sec>
    <sec id="sec-4">
      <title>4. ASP Encoding for the MSS problem</title>
      <p>
        We assume the reader is familiar with syntax and semantics of ASP. Starting from the
specifications in the previous section, here we present our compact and efficient ASP solution for the
MSS problem, organized in two paragraphs containing input and output data model, and the ASP
encoding, respectively. The ASP encoding is based on the input language of CLINGO [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ]. For
details about syntax and semantics of ASP programs we refer the reader to [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ].
Data Model. The input data is specified by means of the following atoms:
• Instances of sessionN(OR,N,DAY) represent the number of sessions (N) in which the
operating room identified by an id ( OR) is split in the day (DAY).
• Instances of operatingRoom(OR,SP) represent which specialty (SP) can be assigned to
the operating room identified by an id ( OR).
• Instances of specialty(SP) represent the different specialties identified by their id ( SP).
• Instances of targetShare(SP,TARGET,ERROR,START,END) represent for each
specialty (SP) the target percentage (TARGET) of utilization and the maximum distance allowed
to the target value (ERROR) in the range of days between START and END.
1 session(SID,DAY,OR) :- operatingRoom(OR,_), sessionN(OR,N,DAY), SID=1..s_count, SID &gt;=
((max_session*DAY)-(max_session-1)), SID&lt;=((max_session*DAY)-(max_session-N)), not
inactive(OR,DAY).
2 n_session(N,START,END) :- N = #count{SID,OR,DAY : session(SID,OR,DAY), DAY &gt;= START, DAY &lt;
      </p>
      <p>END}, targetShare(_,_,_START,END).
3 {mss(OR,SID,SP,DAY) : operatingRoom(OR, SP)} == 1 :- session(SID,DAY,OR).
4 effectiveShare(SP,PERCENTAGE,START,END) :- SESSION = #count{ OR,SID,DAY : mss(OR,SID,SP,DAY), D
&gt;= START, D &lt; END}, n_session(N,START,END), specialty(SP), PERCENTAGE = ((SESSION*100) /
N).
5 :- effectiveShare(SP,PERCENTAGE,START,END), targetShare(SP,TARGET,ERROR,START,END), PERCENTAGE
&lt; (TARGET-ERROR).
6 :- effectiveShare(SP,PERCENTAGE,START,END), targetShare(SP,TARGET,ERROR,START,END), PERCENTAGE
&gt; (TARGET+ERROR).
7 :- effectiveShare(SP,PERCENTAGE,START,END), PERCENTAGE &lt;= 0.
8 :∼ effectiveShare(SP,ES,START,END), targetShare(SP,TS,ERR,START,END). [|ES-TS|@1,SP,START]</p>
      <p>• Instances of day(DAY) represent the available days.</p>
      <p>The output is an assignment represented by an atom of the form mss(OR,SID,SP,DAY),
where the intuitive meaning is that the operating room with id OR in the session with id SID and
in the day DAY is assigned the specialty SP.</p>
      <p>Encoding. The related encoding is shown in Figure 1, and is described next. To simplify the
description, we denote as ri the rule appearing at line i of Figure 1.</p>
      <p>Auxiliary atoms in the heads of rules r1, r2 and, r4 are derived by the encoder to simplify the
other rules. In particular, rule r1 assigns the correct session ids to each operating room for all the
days considered. The assignment is made assigning an id such that the number of ids assigned in
each active day is equal to the number of sessions in which the operating room is splitted. Rule
r2 evaluates the total number of sessions available in the range of days between the values start
and end. This value is then used to evaluate the percentage of assignment of each specialty. Rule
r3 assigns one of the possible specialties to a session of every operating room. Rule r4 derives
an atom that represents the assignment percentage of each specialty. In particular, it counts the
number of sessions linked to each specialty and divides it by the total number of sessions that
are available in that period. Then, rules r5 and r6 check that the percentage of each specialty is
compatible with the target values and the allowed errors. Rule r7 ensures that the percentage of
each specialty is bigger than 0. Finally, weak constraint r8 minimizes the difference between the
assigned and target percentage of each specialty in each period of time.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Experimental Results</title>
      <p>
        In this section, we report the results of an empirical analysis of the MSS problem via ASP (second
paragraph). For the problem, data have been randomly generated using parameters inspired by
literature and real world data (first paragraph).The experiments were run on a AMD Ryzen 5 2600
CPU @ 3.40GHz with 16 GB of physical RAM. The ASP system used was CLINGO [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ] 5.4.0,
using parameters --opt-strategy=usc for faster optimization and --parallel-mode 4 for parallel
execution. This setting is the result of a preliminary analysis done also with other parameters,
i.e., the default configuration and the one having --restart-on-model for optimization. The time
limit was set to 30 seconds. Encodings and benchmarks employed in this section can be found at:
https://github.com/MarcoMochi/HC2023mss .
      </p>
      <p>MSS benchmarks. Data are based on the sizes and parameters of a typical middle sized
hospital, with 5 different specialties and 10 ORs. Each specialty is associated with a target value
for each month and an error, that is equal to 10 for all the specialities. Each specialty can be
assigned to just some randomly selected ORs and the target value is assigned by dividing the
number of ORs in which the specialty can be assigned to the total number of ORs, and adding
to the result a random value in the range between -5 and 5. To test our solution we considered
four different scenarios. In the first scenario, that we will call Scenario A, we considered to
have the constant max_session equal to 2, while the constant d_count has values from 30 to 180.
Moreover, in this scenario the target value for each specialty is equal for each month. For this
scenario, we considered 10 instances, each with different target values for all the specialties,
for each range of days considered. In particular, we tested the scalability of the scheduler by
considering an increasing number of days: 30, 60, 90, 120, 150 and, 180.</p>
      <p>Then, we generated a second scenario, that we will call Scenario B, that is based on the
Scenario A considering 90 days. The difference with Scenario A is that for each month the target
value is increased or decreased by a random value between -2 and 2, thus for each specialty
there are three different target values. Changes in the target values could be done by the hospital
manager because of different availability of doctors or due to the increase of the surgeries of
some specialty.</p>
      <p>For the third and fourth scenario, named Scenario C and D, respectively, we again considered a
planning horizon fixed to 90 days. The constant max_session is equal to 2 for the Scenario C,
while for the Scenario D is equal to 3. This means that, in the fourth scenario, one randomly
selected operating room is splitted in three sessions. The difference between the Scenario C and
the others is that, for 5 days, three ORs are unavailable, meaning that no session can be assigned
to them during that days. The scenarios C and D aim thus at evaluating what is the impact of
limiting the usage of the ORs, or changing the number of sessions, respectively.
Results of our MSS solution. First, we tested the performances of the scheduler in the basic
scenario (Scenario A). The results for this scenario are shown in Figure 2, which represents the
range of seconds required to reach the optimal solution in all the 10 instances tested with the
different number of days considered, identified by the minimum and maximum times for solving
the instances in the set, together with the mean and the median time. From the figure it can be
seen that the scheduler is able to optimally schedule the MSS in a mean time of less than 10
seconds even considering 180 days of planning horizon, which is a remarkable result. Moreover,
besides being able to reach an optimal solution in less than 10 seconds on average, from the figure
it can be noted that even in the worst case, the scheduler is able to find the optimal solution in
less than 30 seconds.</p>
      <p>Then, we tested the performance of the scheduler in the Scenario B. Testing the scheduler with
the 10 instances with 90 days in this scenario we found that the scheduler was able to reach the
optimal solution on average in 3 seconds, that is a time that is very near to the time required in
Scenario A. Thus, this analysis reveals that even changing the target values in each month for all
the specialties, our solution maintains very good performance.</p>
      <p>Having evaluated now the performance in Scenario A and B, we then tested the scheduler in
Scenario C and D. Table 2 reports the time required by each instance in Scenario A and in these
more constrained scenarios, on 90 days planning horizon.</p>
      <p>From the table we can see that the timing obtained by Scenario C is almost equal to the original
one. So, even if three ORs are unavailable for 5 days, the scheduler is able to compute the optimal
solution in the same time required in the Scenario A. In the Scenario D, the scheduler obtained
the optimal solution almost in the same time as in the Scenario A for all but one instance: Indeed,
the third instance requires 4 seconds instead of 2 seconds to reach the optimal solution (from a
preliminary analysis, this harder instance corresponds to a setting in which a higher number of
sessions is set to an OR assigned to only one specialty with low target).</p>
      <p>Overall, we can say that also in Scenario C and D the scheduler is able to reach highly satisfying
results, also when compared to the basic Scenario A.</p>
    </sec>
    <sec id="sec-6">
      <title>6. Adaptation to and results on real data</title>
      <p>In this section, we present the results obtained by using real data and the modification done to
use the solution with the new data. The section is split into two parts: in the first one we present
the results obtained by trying to replicate the same MSS used by the real hospital. In the second
one, we present a new encoder that tries to increase the quality of the MSS. Producing an MSS
that reduces the shift between specialties is crucial to reducing the costs of a hospital since it
allows for a reduction in the work needed to prepare the ORs for different specialties. Moreover,
keeping the specialties to the same percentage of assignments, if possible, eases the organization
of the personnel turnover.</p>
      <p>
        Replicate the results with real data. After having tested our solution in different scenarios
with synthetic data in Section 5, we wanted to test it with real data. To accomplish this, we used
data from ASL1 Liguria, Italy, already used in [
        <xref ref-type="bibr" rid="ref22">22</xref>
        ]. ASL1 is a local health authority consisting
of three hospitals: Bordighera, Sanremo, and Imperia. Each hospital has between 2 and 5 ORs
and the number of patients visited in a typical month ranges between 100 patients of Bordighera
to 500 patients of Imperia. We have made the decision to proceed with the test using data from
the hospital of Imperia since it is the hospital with more ORs, specialties, and patients.
      </p>
      <p>In this case, we wanted to assign the ORs to the different specialties of the hospital with the
same percentages of assignments. In order to complete these tests, we derived the number of ORs,
number of specialties, possible assignments of specialties to ORs, and percentage of assignments
of each specialty from the real data. Then, we used this information as input, of which an excerpt
obtained from the Imperia hospital can be seen in Figure 3. We tested the solution considering 90
days in a different, real, setting where, differently from the synthetic data, the number of ORs is
larger than the number of specialties. The solution was able to find an optimal solution in less
than a second. This means that the solution managed to assign the different ORs as requested by
the hospitals very rapidly and, moreover, the error was equal to 0. This allows us to confirm the
goodness of our solution, even on real data.</p>
      <p>Additions to consider real data. In the following, we present an addition to the already
presented solution that we did to increase the quality of the MSS produced by the hospital and
that allows us to derive the percentage of assignments to assign to each specialty. Indeed, in the
rest of the work, we consider the target of assignment of the specialties as an input. Here, we
want to consider the case in which a hospital wants to derive the assignments considering the
number of expected patients and caring about the quality of the MSS. To produce a better MSS,
we want to obtain an MSS in which: the ORs are assigned, as much as possible, to the same
specialty for all the sessions in a day, every week the specialties are assigned to the same day, and
the percentage of time assigned to each specialty every month does not change. Indeed, analyzing
the real data, we found that many ORs were assigned to different specialties on consecutive days
and, even if not needed, looking at the number of patients, the percentage of time assigned to the
different specialties varies a lot during the months.</p>
      <p>Starting from the ASL1 data, we derived the number of patients assigned each month for every
specialty, considering it as a prediction of future needs, and used this information as a new input
for a modified version of the encoder in Figure 1.</p>
      <p>Data Model. The input data is the same as the one presented in Section 4 but for the atom
targetShare(SP,TARGET,ERROR,START,END) that is not used and is replaced by an atom
needed(SP, EXPECTED, START, END) that represents for each specialty (SP) the expected
percentage (EXPECTED) of utilization needed for patients of that specialty (ERROR) in the range
of days between START and END. The output is the same as in Section 4.</p>
      <p>Encoding. The related encoding is the same as presented in Figure 1 but without the rules
appearing in lines 5, 6, and, 7 and the weak constraint in line 8, plus the rules in Figure 4. In the
following, we describe such additional rules.</p>
      <p>In particular, rule r9 ensures that the percentage of sessions assigned to each specialty is more
than the expected percentage. Rule r10 is used to derive the difference between the percentage
of sessions assigned to a specialty and the expected percentage for the specialty in which the
difference is bigger than a value equal to 10. Weak constraint r11 minimizes the assignments
of two different specialties to the same OR and on the same day in different sessions. Weak
constraint r12 minimizes the assignments of two different specialties to the same OR in a one-week
time gap. Weak constraint r13 minimizes the difference in the percentage of sessions assigned to
each specialty each month. Finally, weak constraint r14 minimizes the value obtained with rule
r10, thus, it reduces the unnecessary assignments.</p>
      <p>Testing the solution with the new encoder with the data of the Imperia hospital, we obtained an
optimal solution in 5.8 seconds. Thus, the solution is able to obtain an MSS in which for every
day, each OR has just one specialty assigned, and every week the specialties are assigned to the
same day. Moreover, the difference in the percentage of sessions assigned to each specialty every
month is 0, while keeping the value higher than the expected need.</p>
      <p>Upon testing the new solution with real data, we can afrfim its viability as a valid option for
generating a MSS, especially when the hospital prioritizes enhancing the overall quality of the
MSS over achieving specific assignments for each specialty.</p>
    </sec>
    <sec id="sec-7">
      <title>7. Related Work</title>
      <p>The section is organized in two paragraphs: the first presents works that highlights the importance
of solving the MSS problem and alternative methods for solving the problem, with a focus on the
works using real data. The second paragraph, instead, mentions works in which ASP has been
already successfully employed to closely related scheduling problems.</p>
      <p>
        Solving the MSS problem. In [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] is presented a literature review on how different Operations
Research techniques can be applied to the surgical planning. Presenting the different approaches
to the MSS problem, the authors pointed out that a more efficient MSS can improve the usage
of the different resources involved (such as wards, that we do not take into account). Some
works were able to use real data to test their solutions; among them, [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] shows the benefit of
implementing an effective MSS in a regional hospital in the Netherlands. In particular, thanks
to the suggestion of the solution proposed, the hospital was able to reduce the budget while
increasing the number of patients operated. In this work, the MSS is evaluated as a cyclic
schedule composed of different individual surgical case types. Thus, the MSS is composed by
a sequence of surgeries instead of blocks of specialties. Moreover, the MSS is planned for 3
weeks only. In [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], the authors proposed a solution to the MSS problem and the surgical case
assignments problem formulating it using a mixed integer nonlinear programming approach.
They compared their solutions to the historical data of an Australian public hospital. Differently
from our work, the solution proposed by the authors maximizes the number of patients operated
instead of focusing on target values required by the hospital. [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ] used a mixed integer linear
programming model to address the problem. They used the required surgeries of the week to
assign the ORs to the different specialties and considered a fixed (two) number of sessions for
each day. The tests done in this work are conducted on real data provided by a medium-sized
Portuguese private hospital. In [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ], the authors addressed the MSS problem by proposing a
cyclic schedule for the frequently performed surgical procedures, maximizing the operating room
utilization. In this work, the solution was tested with data from the Erasmus Medical Center in
Rotterdam, The Netherlands.
      </p>
      <p>
        The work in [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ] used a simulation-optimization approach to solve the MSS problem. In
particular, they used a two-stage stochastic optimization model and a discrete-event simulation
model to handle uncertainty such as the surgery duration. They tested the solution with generated
synthetic data; further, they did not consider a target value for the different specialties.
Solving scheduling problems in Healthcare with ASP. ASP has been successfully used for
solving hard combinatorial and application scheduling problems in several research areas. In
the healthcare domain, the first solved problem was the Nurse Scheduling Problem [
        <xref ref-type="bibr" rid="ref14 ref26 ref27">26, 27, 14</xref>
        ],
where the goal is to create a scheduling for nurses working in hospital units. Then, the problem
of assigning ORs to patients, denoted as Operating Room Scheduling, has been treated [
        <xref ref-type="bibr" rid="ref28">28</xref>
        ],
and further extended to include bed management [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. More recent problems include the
Chemotherepy Treatment Scheduling problem [
        <xref ref-type="bibr" rid="ref29">29</xref>
        ], in which patients are assigned a chair or a bed
for their treatments, and the Rehabilitation Scheduling Problem [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ], which assigns patients to
operators in rehabilitation sessions. In both works, real data were used to test the solutions. Often
problems in which an MSS needs to be computed, including those dealing with the Operating
Room Scheduling problem mentioned above, consider the MSS as an input of the problem;
however, as we have seen in this paper and by the presence of a number of works at the state of
the art dealing uniquely with the problem, the MSS is per se of interest and deserves devoted
solutions, to be possibly integrated with other problem solutions building on it. In [30] and [31],
it is proposed a solution to a problem split into two phases. In the former, the problem consists to
assign a date to the patients in the first phase and the time for the exams in the second phase. In
the latter, the problem consists of assigning a date to a visit or a therapy for multiple recurrent
exams to chronic patients. The problem is split into two sub-problems to increase the performance
of the solution using Benders’ decomposition method.
      </p>
    </sec>
    <sec id="sec-8">
      <title>8. Conclusion</title>
      <p>In this paper, we have presented an analysis of the MSS problem modeled and solved with ASP.
We started from an informal description of the problem, formulated it in precise mathematical
terms, and then presented our ASP solution. Results on synthetic benchmarks show that the
ASP solution is able to optimally solve the MSS problem even when considering large planning
horizons, up to 6 months. Moreover, solving more difficult scenarios, in which, e.g., targets and
number of sessions change within the planning horizon, reduce just slightly the performance of
the scheduler. Further, we adapted the encoding and tested our solution on real data from ASL1
Liguria in Italy, still obtaining satisfying results. Results also demonstrate that our solution is
more targeted towards increasing the quality of the MSS compared to the original schedules on
the real data. For what concerns future works, we plan to investigate rescheduling solutions,
that may come into play when the MSS scheduling can not be implemented for some reasons,
e.g., sudden unavailability of ORs. Finally, we plan to compare our solution to other logic-based
formalisms: Preliminary analysis in [32] has shown that the ASP solution described in Section 4,
compared to other logic-based formalisms via automatic translations of ASP instances, was able
to reach the optimal solution in less time than the other formalisms such as MaxSAT solvers. We
plan to confirm these results on the improved solution presented in Section 6 concerning real
data.
tion to the chemotherapy treatment scheduling problem, Theory and Practice of Logic
Programming 21 (2021) 835–851.
[30] S. Caruso, G. Galatà, M. Maratea, M. Mochi, I. Porro, Scheduling pre-operative assessment
clinic with answer set programming, Journal of Logic and Computation (2023). URL:
https://doi.org/10.1093/logcom/exad017. doi:10.1093/logcom/exad017, exad017.
[31] P. Cappanera, M. Gavanelli, M. Nonato, M. Roma, Decomposition approaches for
scheduling chronic outpatients’ clinical pathways in Answer Set Programming, Journal of
Logic and Computation (2023) exad038. URL: https://doi.org/10.1093/logcom/exad038.
doi:10.1093/logcom/exad038.
[32] M. Mochi, G. Galatà, M. Maratea, Master Surgical Scheduling via Answer Set Programming,
Journal of Logic and Computation (2023) exad035. doi:10.1093/logcom/exad035.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>C.</given-names>
            <surname>Van Riet</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Demeulemeester</surname>
          </string-name>
          ,
          <article-title>Trade-offs in operating room planning for electives and emergencies: A review, Operations Research for Health Care 7 (</article-title>
          <year>2015</year>
          )
          <fpage>52</fpage>
          -
          <lpage>69</lpage>
          . doi:https: //doi.org/10.1016/j.orhc.
          <year>2015</year>
          .
          <volume>05</volume>
          .005,
          <article-title>proc</article-title>
          .
          <source>of ORAHS</source>
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Y. B.</given-names>
            <surname>Ferrand</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. J.</given-names>
            <surname>Magazine</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U. S.</given-names>
            <surname>Rao</surname>
          </string-name>
          ,
          <article-title>Managing operating room ef-fi ciency and responsiveness for emergency and elective surgeries-a literature survey</article-title>
          ,
          <source>IIE Transactions on Healthcare Systems Engineering</source>
          <volume>4</volume>
          (
          <year>2014</year>
          )
          <fpage>49</fpage>
          -
          <lpage>64</lpage>
          . arXiv:https://doi.org/10.1080/19488300.
          <year>2014</year>
          .
          <volume>881440</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>B.</given-names>
            <surname>Spratt</surname>
          </string-name>
          , E. Kozan,
          <article-title>Waiting list management through master surgical schedules: A case study</article-title>
          ,
          <source>Operations Research for Health Care</source>
          <volume>10</volume>
          (
          <year>2016</year>
          )
          <fpage>49</fpage>
          -
          <lpage>64</lpage>
          . URL: https://www. sciencedirect.com/science/article/pii/S2211692316300042. doi:https://doi.org/10. 1016/j.orhc.
          <year>2016</year>
          .
          <volume>07</volume>
          .002.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>G.</given-names>
            <surname>Francesca</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Guido</surname>
          </string-name>
          ,
          <article-title>Operational research in the management of the operating theatre: a survey</article-title>
          .,
          <source>Health care management science 14</source>
          ,
          <issue>1</issue>
          (
          <year>2001</year>
          )
          <fpage>89</fpage>
          -
          <lpage>114</lpage>
          . doi:doi:10.1007/ s10729-010-9143-6.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>van</surname>
            <given-names>Oostrum</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jeroen</surname>
          </string-name>
          , Applying Mathematical Models to Surgical Patient Planning,
          <string-name>
            <surname>Ph</surname>
          </string-name>
          .D. thesis, E,
          <year>2009</year>
          . URL: http://hdl.handle.net/1765/16728.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>M.</given-names>
            <surname>Gebser</surname>
          </string-name>
          , B. Kaufmann, T. Schaub,
          <article-title>Conflict-driven answer set solving: From theory to practice</article-title>
          ,
          <source>Artificial Intelligence</source>
          <volume>187</volume>
          (
          <year>2012</year>
          )
          <fpage>52</fpage>
          -
          <lpage>89</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>M.</given-names>
            <surname>Alviano</surname>
          </string-name>
          , G. Amendola,
          <string-name>
            <given-names>C.</given-names>
            <surname>Dodaro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Leone</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maratea</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Ricca</surname>
          </string-name>
          ,
          <article-title>Evaluation of disjunctive programs in WASP</article-title>
          , in: M.
          <string-name>
            <surname>Balduccini</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          <string-name>
            <surname>Lierler</surname>
          </string-name>
          , S. Woltran (Eds.), LPNMR, volume
          <volume>11481</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2019</year>
          , pp.
          <fpage>241</fpage>
          -
          <lpage>255</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>E.</given-names>
            <surname>Giunchiglia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maratea</surname>
          </string-name>
          ,
          <article-title>On the Relation Between Answer Set and SAT Procedures (or, Between cmodels</article-title>
          and smodels),
          <source>in: ICLP</source>
          , volume
          <volume>3668</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2005</year>
          , pp.
          <fpage>37</fpage>
          -
          <lpage>51</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>E.</given-names>
            <surname>Giunchiglia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Leone</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maratea</surname>
          </string-name>
          ,
          <article-title>On the relation among answer set solvers</article-title>
          , Ann. Math. Artif. Intell.
          <volume>53</volume>
          (
          <year>2008</year>
          )
          <fpage>169</fpage>
          -
          <lpage>204</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>F.</given-names>
            <surname>Calimeri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Gebser</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maratea</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Ricca</surname>
          </string-name>
          ,
          <article-title>The design of the fifth answer set programming competition</article-title>
          ,
          <source>CoRR abs/1405</source>
          .3710 (
          <year>2014</year>
          ). URL: http://arxiv.org/abs/1405.3710. arXiv:
          <volume>1405</volume>
          .
          <fpage>3710</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>F.</given-names>
            <surname>Ricca</surname>
          </string-name>
          , G. Grasso,
          <string-name>
            <given-names>M.</given-names>
            <surname>Alviano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Manna</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Lio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Iiritano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Leone</surname>
          </string-name>
          ,
          <article-title>Team-building with answer set programming in the Gioia-Tauro seaport</article-title>
          ,
          <source>Theory and Practice of Logic Programming</source>
          <volume>12</volume>
          (
          <year>2012</year>
          )
          <fpage>361</fpage>
          -
          <lpage>381</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>D.</given-names>
            <surname>Abels</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Jordi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ostrowski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Schaub</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Toletti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Wanko</surname>
          </string-name>
          ,
          <article-title>Train scheduling with hybrid ASP</article-title>
          , in: LPNMR, volume
          <volume>11481</volume>
          of Lecture Notes in Computer Science, Springer,
          <year>2019</year>
          , pp.
          <fpage>3</fpage>
          -
          <lpage>17</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>C.</given-names>
            <surname>Dodaro</surname>
          </string-name>
          , G. Galatà,
          <string-name>
            <given-names>M. K.</given-names>
            <surname>Khan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maratea</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Porro</surname>
          </string-name>
          ,
          <article-title>An ASP-based solution for operating room scheduling with beds management</article-title>
          , in: P. Fodor,
          <string-name>
            <given-names>M.</given-names>
            <surname>Montali</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Calvanese</surname>
          </string-name>
          , D. Roman (Eds.),
          <source>Proceedings of the Third International Joint Conference on Rules and Reasoning (RuleML+RR 2019)</source>
          , volume
          <volume>11784</volume>
          of Lecture Notes in Computer Science, Springer,
          <year>2019</year>
          , pp.
          <fpage>67</fpage>
          -
          <lpage>81</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>M.</given-names>
            <surname>Alviano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Dodaro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maratea</surname>
          </string-name>
          ,
          <article-title>Nurse (re)scheduling via answer set programming</article-title>
          ,
          <source>Intelligenza Artificiale</source>
          <volume>12</volume>
          (
          <year>2018</year>
          )
          <fpage>109</fpage>
          -
          <lpage>124</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>M.</given-names>
            <surname>Cardellini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. D.</given-names>
            <surname>Nardi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Dodaro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Galatà</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Giardini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maratea</surname>
          </string-name>
          ,
          <string-name>
            <surname>I.</surname>
          </string-name>
          <article-title>Porro, A two-phase ASP encoding for solving rehabilitation scheduling</article-title>
          , in: S. Moschoyiannis,
          <string-name>
            <given-names>R.</given-names>
            <surname>Peñaloza</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Vanthienen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Soylu</surname>
          </string-name>
          , D. Roman (Eds.),
          <source>Proceedings of the 5th International Joint Conference on Rules and Reasoning (RuleML+RR 2021)</source>
          , volume
          <volume>12851</volume>
          of Lecture Notes in Computer Science, Springer,
          <year>2021</year>
          , pp.
          <fpage>111</fpage>
          -
          <lpage>125</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>E.</given-names>
            <surname>Erdem</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Gelfond</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Leone</surname>
          </string-name>
          ,
          <article-title>Applications of answer set programming</article-title>
          ,
          <source>AI</source>
          Magazine
          <volume>37</volume>
          (
          <year>2016</year>
          )
          <fpage>53</fpage>
          -
          <lpage>68</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>A. A.</given-names>
            <surname>Falkner</surname>
          </string-name>
          , G. Friedrich,
          <string-name>
            <given-names>K.</given-names>
            <surname>Schekotihin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Taupe</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. C.</given-names>
            <surname>Teppan</surname>
          </string-name>
          ,
          <article-title>Industrial applications of answer set programming</article-title>
          ,
          <source>Künstliche Intelligenz</source>
          <volume>32</volume>
          (
          <year>2018</year>
          )
          <fpage>165</fpage>
          -
          <lpage>176</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>P.</given-names>
            <surname>Schüller</surname>
          </string-name>
          ,
          <article-title>Answer set programming in linguistics</article-title>
          ,
          <source>Künstliche Intelligence</source>
          <volume>32</volume>
          (
          <year>2018</year>
          )
          <fpage>151</fpage>
          -
          <lpage>155</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>L.</given-names>
            <surname>Cadermatori</surname>
          </string-name>
          , G. Galatà,
          <string-name>
            <given-names>C. L.</given-names>
            <surname>Monaco</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maratea</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Mochi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Schouten</surname>
          </string-name>
          ,
          <article-title>An asp-based approach to master surgical scheduling</article-title>
          , in: R. Calegari,
          <string-name>
            <given-names>G.</given-names>
            <surname>Ciatto</surname>
          </string-name>
          ,
          <string-name>
            <surname>A</surname>
          </string-name>
          . Omicini (Eds.),
          <source>Proceedings of the 37th Italian Conference on Computational Logic</source>
          , Bologna, Italy, June 29 - July 1,
          <year>2022</year>
          , volume
          <volume>3204</volume>
          <source>of CEUR Workshop Proceedings, CEUR-WS.org</source>
          ,
          <year>2022</year>
          , pp.
          <fpage>313</fpage>
          -
          <lpage>328</lpage>
          . URL: https://ceur-ws.
          <source>org/</source>
          Vol-
          <volume>3204</volume>
          /paper_33.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>M.</given-names>
            <surname>Gebser</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Kaminski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Kaufmann</surname>
          </string-name>
          , M. Ostrowski,
          <string-name>
            <given-names>T.</given-names>
            <surname>Schaub</surname>
          </string-name>
          , P. Wanko,
          <article-title>Theory solving made easy with clingo 5</article-title>
          , in:
          <source>ICLP (Technical Communications)</source>
          , volume
          <volume>52</volume>
          <source>of OASICS, Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik</source>
          ,
          <year>2016</year>
          , pp.
          <volume>2</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>2</lpage>
          :
          <fpage>15</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>F.</given-names>
            <surname>Calimeri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Faber</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Gebser</surname>
          </string-name>
          , G. Ianni,
          <string-name>
            <given-names>R.</given-names>
            <surname>Kaminski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Krennwallner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Leone</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maratea</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Ricca</surname>
          </string-name>
          , T. Schaub,
          <article-title>ASP-Core-2 input language format</article-title>
          ,
          <source>Theory and Practice of Logic Programming</source>
          <volume>20</volume>
          (
          <year>2020</year>
          )
          <fpage>294</fpage>
          -
          <lpage>309</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>M.</given-names>
            <surname>Scanu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Mochi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Dodaro</surname>
          </string-name>
          , G. Galatà,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maratea</surname>
          </string-name>
          ,
          <article-title>Operating room scheduling via answer set programming: The case of ASL1 liguria</article-title>
          ,
          <source>in: CILC</source>
          <year>2023</year>
          , volume
          <volume>3428</volume>
          <source>of CEUR Workshop Proceedings, CEUR-WS.org</source>
          ,
          <year>2023</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>I.</given-names>
            <surname>Marques</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. E.</given-names>
            <surname>Captivo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Barros</surname>
          </string-name>
          ,
          <article-title>Optimizing the master surgery schedule in a private hospital</article-title>
          ,
          <source>Operations Research for Health Care</source>
          <volume>20</volume>
          (
          <year>2019</year>
          )
          <fpage>11</fpage>
          -
          <lpage>24</lpage>
          . URL: https: //www.sciencedirect.com/science/article/pii/S2211692318300225.
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <surname>J. van Oostrum</surname>
          </string-name>
          ,
          <string-name>
            <surname>M. van Houdenhoven</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Hurink</surname>
          </string-name>
          , E. Hans, G. Wullink,
          <string-name>
            <given-names>G.</given-names>
            <surname>Kazemier</surname>
          </string-name>
          ,
          <article-title>A master surgical scheduling approach for cyclic scheduling in operating room departments</article-title>
          ,
          <source>OR Spectrum = OR Spektrum</source>
          <volume>30</volume>
          (
          <year>2008</year>
          )
          <fpage>355</fpage>
          -
          <lpage>374</lpage>
          . doi:
          <volume>10</volume>
          .1007/s00291-006-0068-x.
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <given-names>T. R.</given-names>
            <surname>Bovim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Christiansen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. N.</given-names>
            <surname>Gullhav</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. M.</given-names>
            <surname>Range</surname>
          </string-name>
          , L. Hellemo,
          <article-title>Stochastic master surgery scheduling</article-title>
          ,
          <source>European Journal of Operational Research</source>
          <volume>285</volume>
          (
          <year>2020</year>
          )
          <fpage>695</fpage>
          -
          <lpage>711</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <given-names>C.</given-names>
            <surname>Dodaro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maratea</surname>
          </string-name>
          ,
          <article-title>Nurse scheduling via answer set programming</article-title>
          ,
          <source>in: LPNMR</source>
          , volume
          <volume>10377</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2017</year>
          , pp.
          <fpage>301</fpage>
          -
          <lpage>307</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>M.</given-names>
            <surname>Alviano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Dodaro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maratea</surname>
          </string-name>
          ,
          <article-title>An advanced answer set programming encoding for nurse scheduling</article-title>
          ,
          <source>in: AI*IA</source>
          , volume
          <volume>10640</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2017</year>
          , pp.
          <fpage>468</fpage>
          -
          <lpage>482</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          [28]
          <string-name>
            <given-names>C.</given-names>
            <surname>Dodaro</surname>
          </string-name>
          , G. Galatà,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maratea</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Porro</surname>
          </string-name>
          ,
          <article-title>Operating room scheduling via answer set programming</article-title>
          ,
          <source>in: AI*IA</source>
          , volume
          <volume>11298</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2018</year>
          , pp.
          <fpage>445</fpage>
          -
          <lpage>459</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          [29]
          <string-name>
            <given-names>C.</given-names>
            <surname>Dodaro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Galatà</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Grioni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maratea</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Mochi</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Porro</surname>
          </string-name>
          ,
          <article-title>An ASP-based solu-</article-title>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>