Optimization steps
Problem analysis: real world ⟺ math relationship
minf(x) objective function (modeling)
s.t x∈S , S = feasible set.
study the math properties of the model: (model analysis)
apply an algorithm to compute an optimal solution x∗ (solution method)
verification and simulation
Linear Optimization
A function f:Rn→R is linear if:
f(x+y)=f(x)+f(y)∀x,y∈Rn
f(λx)=λf(x)∀x∈Rn,∀λ∈R Equivalently, f is linear if it can be written as:
c′x=i=1∑ncixi=c1x1+c2x2+⋯+cnxn, where c1,c2,…,cn are real numbers.
real-world relationships ⇔ math relationships
mind′x LINEAR objective function
s.t. ai′x≥bii∈M1
ai′x≤bii∈M2 LINEAR inequalities
ai′x=bii∈M3
Example
minimize subject to 2x1−x2+4x3x1+x2+x4≤23x2−x3=5x3+x4≥3x1≥0x3≤0 Strict inequalities like x3+x4>3 are not allowed!
We learn about model analysis and solution methods.
Optimal conditions, duality. - model analysis
Simplex algorithm - solution methods.