A clustering approach for scenario tree reduction: an application to a stochastic programming portfolio optimization problem