Optimization problems and solution methods in the design of data distribution