Cabalar, PedroMuñiz, BraisFolgar Fernández, MarioUniversidade da Coruña. Facultade de Informática2025-11-062025-11-062025-09https://hdl.handle.net/2183/46312[Resumen]: Los residentes del Servicio de Cirugía General y del Aparato Digestivo del Hospital Universitario de A Coruña (CHUAC) dedican una cantidad significativa de tiempo a la elaboración manual de los turnos y la asignación a los diferentes servicios, a nivel anual, mensual y semanal. Este proceso resulta tedioso, propenso a errores y consume recursos que podrían destinarse a otras tareas de mayor valor. Con el objetivo de optimizar esta tarea, se ha propuesto el desarrollo de un sistema basado en Answer Set Programming (ASP) que permita automatizar la generación de los turnos bajo las restricciones y requisitos específicos del servicio. De esta manera, se busca garantizar una planificación más eficiente, reduciendo la carga administrativa de los residentes y mejorando la organización global del servicio.[Abstract]: The residents of the General Surgery and Digestive System Service at the University Hospital of A Coruña (CHUAC) dedicate a significant amount of time to the manual preparation of shifts and service assignments at the annual, monthly, and weekly levels. This process is tedious, prone to errors, and consumes resources that could be allocated to other, more valuable tasks. In order to optimize this task, the development of a system based on Answer Set Programming (ASP) has been proposed, aimed at automating the generation of shifts under the specific restrictions and requirements of the service. In this way, the goal is to ensure more efficient planning, reduce the administrative burden on residents, and improve the overall organization of the service.spaAttribution 4.0 Internationalhttp://creativecommons.org/licenses/by/4.0/PlanificaciónGestión de turnosAnswer Set ProgrammingOptimizaciónPlanningSchedulingOptimizationGeneración de turnos hospitalarios mediante ASPbachelor thesisopen access