Applying Bundle Methods to Optimization of Polyhedral Functions: An Applications-Oriented Development