I extend Myerson's (1981) ironing technique to more general objective functions. The approach can be used to solve quasilinear principal-agent models with a one-dimensional type in the general case where the monotonicity constraint implied by incentive compatibility may be binding at the...