This research presents a novel approach to address the Virtual Machine Placement Problem (VMPP) in cloud data centers with the aim of minimizing energy consumption. The main contributions of this study are threefold. Firstly, a Duelist Algorithm specifically designed for VMPP, which introduces a unique concept of duelists combined with optimization techniques. The algorithm aims to strike a balance between exploration and exploitation in the search space, leading to more effective resource allocation and energy-efficient cloud data center management. Secondly, enhance the performance of the Duelist Algorithm by reducing the number of algorithm-specific parameters. This simplifies the implementation process and increases the algorithm's adaptability to various real-world problems, making it more user-friendly and robust. Lastly, conduct a comprehensive comparison of the Duelist Algorithm with the widely used Hybrid Harmony Search Algorithm (HS+SA+LS) in terms of energy consumption and overall efficiency. The experimental results demonstrate that the Duelist Algorithm consistently outperforms the Hybrid Harmony Search Algorithm, achieving remarkable improvements in both best and mean fitness values. Additionally, the Duelist Algorithm exhibits lower standard deviation values, indicating more stable and consistent performance. The findings of this research validate the effectiveness of the proposed Duelist Algorithm in minimizing energy consumption and optimizing cloud resource allocation. The reduction of algorithm-specific parameters further contributes to its versatility and simplicity.