Surplus Maximization and Optimality