Mathematical Optimization Basics