The p-median problem in a changing network: the case of Barcelona | Publicación