XX:2 Online TSP with Known Locations
online algorithm knows all the requests that will arrive in the next ∆units of time, or the
k
-request-lookahead, where the online algorithm has access to the next
k
requests [
1
]. In the
same vein, Jaillet and Wagner [
13
] introduced the notion of disclosure dates, i.e., the dates at
which the requests become known to the online algorithm ahead of their release dates. More
recently, OLTSP has also been studied in the framework of Learning-Augmented Algorithms
[
6
,
11
,
12
]. Here, we study another natural way of giving more power to the online algorithm
by considering that the location of each request is known in advance, but its release date
arrives over time. The release date, in this context, is just the time after which a request
can be served. This is the case for many applications where the delivery/collection locations
are known (parcel collection from fixed storage facilities, cargo collection on a harbour etc.).
Think for example of a courier that has to deliver packets to a fixed number of customers.
These packets may have to be delivered in person, so the customers should be at home to
receive them. Each customer can inform the courier through an app when he/she returns
home and is ready to receive the packet. We refer to this problem as the online Traveling
Salesperson Problem with known locations (OLTSP-L) and consider two variants: in the
closed variant the server is required to return to the origin after serving all requests, while in
the open one the server does not have to return to the origin after serving the last request.
Previous results
The offline version of the open variant of the problem in which the requests are known in
advance can be solved in quadratic time when the metric space is a line [
16
,
7
]. In [
7
], Bjelde
et al. studied the offline closed variant providing a dynamic program based on the one of [
16
]
that solves the problem in quadratic time. For the online problem, Ausiello et al. [
5
] showed
a lower bound of 2for the open version and a lower bound of 1
.
64 for the closed version of
OLTSP, even when the metric space is the line. They also proposed an optimal 2-competitive
algorithm for the closed version and a 2
.
5-competitive algorithm for the open version of
OLTSP in general metric spaces. For the line, they presented a (7
/
3)-competitive algorithm
for the open case and a 1
.
75-competitive algorithm for the closed one. More recently, Bjelde
et al., in [
7
], proposed a 1
.
64-competitive algorithm for the close case (on the line) matching
the lower bound of [
5
]. They also provided a lower bound of 2
.
04 for the open case on the
line, as well as an online algorithm matching this bound. In [
8
], Blom et al. proposed a best
possible 1
.
5-competitive algorithm when the metric space is a semi-line. Chen et al., in [
9
],
presented lower and upper bounds of randomized algorithms for OLTSP on the line.
In [12], Hu et al. introduced learning-augmented algorithms for OLTSP. They proposed
three different prediction models. In the first model, the number of requests is not known
in advance and each request is associated to a prediction for both its release time and its
location. In the second model, they assume that the number of requests is given and that, as
in the first model, a prediction corresponds to both the release time and the location of the
request. While being closer to our model, no direct comparison can be done between their
results and ours. In the third model, the prediction is just the release time of the last request.
In [
6
], Bernardini et al. focused also on learning-augmented algorithms and they introduced
a new error measure appropriate for many online graph problems. For OLTSP, they assume
that a prediction corresponds to both the release time and the location of a request. They
study OLTSP for metric spaces, but also the more special case of the semi-line. Their results
are not comparable to ours. In [
11
], Gouleakis et al. studied a learning-augmented framework
for OLTSP on the line. The authors define a prediction model in which the predictions
correspond to the locations of the requests. They establish lower bounds by assuming that
the predictions are perfect, i.e. the locations are given, and the adversary can only control