Optimisation of investments for local economies in the Mediterranean