Introduction
to
Optimization
Amy Langville SAMSI Undergraduate Workshop N.C. State University
SAMSI 6/1/05
Introduction to Optimization Amy Langville SAMSI Undergraduate - - PowerPoint PPT Presentation
Introduction to Optimization Amy Langville SAMSI Undergraduate Workshop N.C. State University SAMSI 6/1/05 GOAL: minimize f ( x 1 , x 2 , x 3 , x 4 , x 5 ) = x 2 1 . 5 x 2 x 3 + x 4 /x 5 PRIZE: $1 million # of independent variables =
SAMSI 6/1/05
1 − .5x2x3 + x4/x5
1 − .5x2x3 + x4/x5
1 − .5x2x3 + x4/x5
PROPERTIES OF NELDER–MEAD
117 ¯ x xr x3 ¯ x xr xe x3
shown with a dashed line.
¯ x xr xc x3 ¯ x xcc x3 x1
The original simplex is shown with a dashed line.
then x(k+1)
1
= x(k)
1 . Beyond this, whatever rule is used to define the original ordering
may be applied after a shrink. We define the change index k∗ of iteration k as the smallest index of a vertex that differs between iterations k and k + 1: k∗ = min{ i | x(k)
i
= x(k+1)
i
}. (2.8) (Tie-breaking rules are needed to define a unique value of k∗.) When Algorithm NM terminates in step 2, 1 < k∗ ≤ n; with termination in step 3, k∗ = 1; with termination in step 4, 1 ≤ k∗ ≤ n + 1; and with termination in step 5, k∗ = 1 or 2. A statement that “xj changes” means that j is the change index at the relevant iteration. The rules and definitions given so far imply that, for a nonshrink iteration,
20 40 60 80 100 120 140 160 180 10
−210
−110 SN1939A days luminosity 20 40 60 80 100 2 3 4 5 6 7 8 0.17 0.18 0.19 0.2 0.21 0.22 0.23 SN1939A, Residual norm as a function of λ1 and λ2 λ2 λ1 Residual norm
✥ ☞ ✞ ✠ ✏ ✻ ✔ ✞ ✠ ✕ ✪20 40 60 80 100 120 140 160 180 10
−210
−110 SN1939A days luminosity 20 40 60 80 100 2 3 4 5 6 7 8 0.17 0.18 0.19 0.2 0.21 0.22 0.23 SN1939A, Residual norm as a function of λ1 and λ2 λ2 λ1 Residual norm
✻ ✮20 40 60 80 100 120 140 160 180 10
−210
−110 SN1939A days luminosity 20 40 60 80 100 2 3 4 5 6 7 8 0.17 0.18 0.19 0.2 0.21 0.22 0.23 SN1939A, Residual norm as a function of λ1 and λ2 λ2 λ1 Residual norm
✥ ☞ ✞ ✠ ✏ ◗ ✔ ✞ ✠ ✕ ✔ ✪20 40 60 80 100 120 140 160 180 10
−210
−110 SN1939A days luminosity 20 40 60 80 100 2 3 4 5 6 7 8 0.17 0.18 0.19 0.2 0.21 0.22 0.23 SN1939A, Residual norm as a function of λ1 and λ2 λ2 λ1 Residual norm
✻ ✒20 40 60 80 100 120 140 160 180 10
−210
−110 SN1939A days luminosity 20 40 60 80 100 2 3 4 5 6 7 8 0.17 0.18 0.19 0.2 0.21 0.22 0.23 SN1939A, Residual norm as a function of λ1 and λ2 λ2 λ1 Residual norm
✥ ☞ ✞ ✠ ✏ ✻ ✽ ✔ ✞ ✠ ✕ ✔ ✪20 40 60 80 100 120 140 160 180 10
−210
−110 SN1939A days luminosity 20 40 60 80 100 2 3 4 5 6 7 8 0.17 0.18 0.19 0.2 0.21 0.22 0.23 SN1939A, Residual norm as a function of λ1 and λ2 λ2 λ1 Residual norm
✽ ✭20 40 60 80 100 120 140 160 180 10
−210
−110 SN1939A days luminosity 20 40 60 80 100 2 3 4 5 6 7 8 0.17 0.18 0.19 0.2 0.21 0.22 0.23
Starting guess λ0
SN1939A, Residual norm as a function of λ1 and λ2 λ2
Optimizer λ*
λ1 Residual norm
fminsearch(fun,[x0],options);