Optimization Methods: An Applications-Oriented Primer