The price set is the marginal price for the last MW of capacity required (which is the most expensive one). No other way to do it I guess: if you give the cheaper producers less than the most expensive ones, they have the economic incentive not to supply until they get the higher price.