Solving a Power System Capacity Problem