This assignment delves into the realm of power system optimization, specifically focusing on unit commitment problems. It proposes a solution approach leveraging Mixed Integer Linear Programming (MILP) to efficiently determine the optimal generation mix from various power units. The MILP model is designed to minimize operational costs while satisfying grid demand constraints and technical limitations. A realistic case study effectively demonstrates the model's efficacy in addressing real-world unit commitment challenges. Furthermore, the assignment explores the applicability of this optimization technique to emerging problems within the electricity market.