Chapter 2 Basis Math
Chapter 2 Basis Math
OPTIMIZATION
Mathematical foundation
Optimization problems
• Maximize or minimize some function relative to some set (range of
choices)
• The function represents the quality of the choice, indicating which is the
“best”
• Example
• A shipper need to find the shortest route to deliver packages to
customers 1, 2, …, N
Notations
• x Rn : vector of decision variables xj, j = 1, 2, …, n
• f : Rn → R is the objective function (dom f = Rn)
• gi : Rn → R is the constraint function defining restriction on x, i = 1, 2, …,
m
gi(x) ≤ bi, i = 1, 2, …, s
gi(x) = di, i = s + 1, 2, …, m
Convex sets
• S is called a convex set if: u1, u2, …, uk in S, non-negative numbers
1, 2, …, k such that σ𝑘𝑖=1 i = 1, then σ𝑘𝑖=1 𝑢𝑖i is in S
𝑓
(𝑥)
𝑥𝑛
2𝑓
2f(x) (or f ’’(x)) = (𝑥) called Hessian matrix
𝑥𝑖𝑥𝑗
Convex functions
• First-order condition
• Suppose f is differentiable (i.e., its gradient exists at all points in
dom f, which is open). f is convex if and only if dom f is convex and
f(x) + f(x)T (y-x) ≤ f(y), x,y dom f
f(y)
x y
Basis
• If f(x) = 0, then f(y) f(x), y dom f → x is global minimizer of the
function f
f(y)
x y
Norms