An Optimization Model to Reduce Energy Consumption in Software-Defined Data Centers