In this study, we explore how to optimize data center operations by combining Operations Research (OR) and Machine Learning (ML) methodologies with Python-based categorization algorithms. Using Scikit-learn and TensorFlow, two Python libraries, we investigate how ML algorithms might be integrated with OR techniques like queuing theory and linear programming to forecast workloads and allocate resources more effectively. Problems with scheduling workloads, allocating resources, and managing energy consumption are at the heart of our research into data center optimization. The goal of this comprehensive framework is to create more effective and environmentally friendly data centre operations by systematically evaluating Python-based categorization models in response to changing workload demands and environmental circumstances. Introduction: The backbone of our digital infrastructure, data centers stand tall in the ever-changing world of contemporary technology. A vast variety of online services, including social media platforms, e-commerce websites, cloud computing, and big data analytics, rely on the servers, storage devices, networking gear, and other essential components housed in these expansive facilities. Meeting the ever-increasing demands for computational resources while simultaneously enhancing performance, efficiency, and cost-effectiveness is a daunting task for data centers, which are already struggling to keep up with the exponential growth in both the amount and complexity of digital data. Objectives: Our goal in writing this article is to delve into the ways in which data center optimization intersects with Operations Research and Machine Learning. Data center optimization presents a wide range of problems, and this course will explore the theory, methods, and best practices for using OR and ML to solve these problems. To develop an integrated framework that combines operations research (OR) and machine learning (ML) techniques to optimize the performance, energy efficiency, and reliability of data centers. Methods: Optimization strategies that improve data center operations in terms of performance, efficiency, and sustainability. These proposed strategies make use of both OL and ML techniques. Data center operators can optimize resource allocation, workload management, temperature control, energy consumption, and anomaly detection in real-time by formally stating the optimization problem in a mathematical framework. This allows for informed decision-making, systematic analysis of trade-offs, and the implementation of adaptive control strategies. Results: The visualization depicts the projected energy usage in terms of bandwidth for both approaches, compared to the actual values. In general, although both methods demonstrate potential, additional refinement and optimization may be necessary to attain superior outcomes in real-life situations. This discussion presents an analysis of the performance of both procedures and offers insights into their respective strengths and shortcomings, which can serve as a foundation for further investigation or improvement of the approaches. Conclusions: By using a comprehensive and multidisciplinary approach, we can optimize data centres in a way that boosts efficiency and performance while simultaneously encouraging innovation, resilience, and sustainability in data centre operations. Also, Data center gains in resource operators can achieve considerable utilization, energy efficiency, and overall system performance by integrating optimization algorithms, predictive analytics, and adaptive control strategies