An all-pay auction is an auction in which every bidder pays his bid whether or not receiving the object. In terms of mechanisms this means that Pi(x) depends only on xi. Suppose we have private values but types are correlated. Find the optimal auction amongst the class of all-pay auctions.