The Italian optimization tool for the gains-Italy model