Constrained Multi-Slot Optimization for Ranking Recommendations