Optimal planning of virtual mobile networks