The virtual machine consolidation problem (VMCP) attempts to determine which servers to be activated, how to allocate virtual machines (VMs) to the activated servers, and how to migrate VMs among servers such that the summation of activated, allocation, and migration costs is minimized subject to the resource constraints of the servers and other practical constraints. In this paper, we first propose a new mixed integer linear programming (MILP) formulation for the VMCP. We show that compared with existing formulations, the proposed formulation is much more compact in terms of smaller numbers of variables or constraints, which makes it suitable for solving large-scale problems. We then develop a cut-and-solve (C&S) algorithm, a tree search algorithm to efficiently solve the VMCP to optimality. The proposed C&S algorithm is based on a novel relaxation of the VMCP that provides a stronger lower bound than the natural continuous relaxation of the VMCP, making a smaller search tree. By extensive computational experiments, we show that (i) the proposed formulation significantly outperforms existing formulations in terms of solution efficiency; and (ii) compared with standard MILP solvers, the proposed C&S algorithm is much more efficient.
翻译:虚拟机器整合问题(VMCP)试图确定哪些服务器被激活,如何将虚拟机器(VMMS)分配给激活服务器,以及如何在服务器之间迁移VMS,以便根据服务器的资源限制和其他实际限制,尽量减少激活、分配和迁移费用的总和。在本文件中,我们首先为VMCP提出一个新的混合整数线性编程(MILP)配方。我们显示,与现有配方相比,拟议的配方在数量较少的变数或制约方面更为紧凑,使其适合于解决大规模问题。然后我们开发了一种剪切和解(C&S)算法,一种树搜索算法,以便有效地解决VMCP达到最佳程度。拟议的C&S算法的基础是,VMCP的新的放松,它提供了比VMCP自然持续放松的更强的制约。我们通过广泛的计算实验显示,(i)拟议的配方在解决办法效率方面大大优于现有的配方;和(ii)与标准的MILP解算法相比,拟议的C解算法是更高效的。