The article addresses the unit commitment problem in power systems to minimize production costs and optimize unit scheduling using a binary grey wolf optimizer based on particle swarm optimization (BGWOPSO) algorithm. It highlights the challenges in coordinating the operation of multiple generating units while adhering to various operational constraints, and presents simulation results from applying the method to a '39 bus IEEE test system.' The proposed approach outperforms other algorithms in minimizing costs and achieving efficient unit scheduling.