In a first-best world, without the need to earn enough revenue to cover fixed costs, the optimal solution would be to set the price for each product equal to its marginal cost. If the average cost curve is declining where the demand curve crosses it however, as happens when the fixed cost is large, this would result in a price less than average cost, and the firm could not survive without subsidy. The Ramsey problem is to decide exactly how much to raise each product's price above its marginal cost so the firm's revenue equals its total cost. If there is just one product, the problem is simple: raise the price to where it equals average cost. If there are two products, there is leeway to raise one product's price more and the other's less, so long as the firm can break even overall.