A First Course On Optimization Theory