The document describes an optimization problem to minimize the total generation cost of meeting a 500 MW demand across 3 generators, each with different cost functions, using MATLAB. The optimal dispatch found by the MATLAB algorithm was generator 1 at 135 MW, generator 2 at 150 MW, and generator 3 at 215 MW, meeting the total demand while minimizing costs. The total optimal generation cost was calculated to be $5,257.04. Lambda, the incremental cost of power, was also calculated to be $8.245/MW based on the optimal dispatch.