Fundamentals of Optimization: Methods, Minimum Principles, and Applications for Making Things Better