A little experiment for predicting the best team of 5 performers for the 2023 edition of the Italian Festival of Sanremo, with python.
The game is explained in detail at fantasanremo.com, but the main rules are like any other fantasy game: you have X credits (100 in this case) for building your team, composed by N singers (5 in this case).
For the computation of the costs and scores of the singers, some data is collected from:
The task is, in the end, an optimization problem that I solved using Pulp, which is one of the best LP modelers written in Python.
In order to use the notebook, first install the necessary packages with
pip install -r requirements.txt