Optimization: Nonlinear Programming and Applications, Study notes of Mathematics

Optimization techniques, focusing on nonlinear programming. It covers the principles of lagrange multipliers, equality and inequality constrained problems, and applications to linear programming and calculus of variations. Nonlinear programming is a powerful tool for solving complex optimization problems.

Typology: Study notes

Pre 2010

Uploaded on 03/18/2009

koofers-user-wbv-1
koofers-user-wbv-1 🇺🇸

10 documents

1 / 23

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Chapter 2
Examples of Applications
The purpose of this chapter is to provide some examples of optimization where the previously
mentioned basic principles can be applied. Each of the following subjects has been a major
mathematical study. Only the ideas are outlined in this chapter. More details will be discussed
later.
Nonlinear Programming
Linear Programming
Calculus of Variation
Optimal Control
33
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17

Partial preview of the text

Download Optimization: Nonlinear Programming and Applications and more Study notes Mathematics in PDF only on Docsity!

Chapter 2

Examples of Applications

The purpose of this chapter is to provide some examples of optimization where the previously mentioned basic principles can be applied. Each of the following subjects has been a major mathematical study. Only the ideas are outlined in this chapter. More details will be discussed later.

  • Nonlinear Programming
  • Linear Programming
  • Calculus of Variation
  • Optimal Control

34 Applications

Nonlinear Programming

A main tool used in nonlinear programming is the theory of Lagrange multipliers.

  • The geometry of Lagrange multipliers is easy to understand in finite dimensional space, but the entire notion can be generalized to Banach space.
  • An equality constrained optimization problem can be reformulate via the notion of La- grange multipliers as an unconstrained problem. As such, necessary and sufficient condi- tions for constrained problems are similar to those of unconstrained problems.
  • An inequality constrained problem can be reformulated as an equality constrained prob- lem by adding extra variables or inequalities. As such, the idea of active constraints, where the equality holds, become important.

36 Applications

  • The proof is quite insightful!

¶ Consider the artificial function H : Rn^ × R → R × Rm,

H(x, u) := (f (x) − f (x 0 ) − u, g(x)).

¶ Obviously H(x 0 , 0) = 0. ¶ Note that ∂H ∂x

∣(x 0 ,0)

= [∇f (x 0 ), ∇g 1 (x 0 ),... , ∇gm(x 0 )].

¶ If the columns are linear independent, then by the implicit function theorem there exists a neighborhood of (x 0 , 0) in which H(x, u) ≡ 0. ¶ In particular, there exist x and u < 0 such that f (x) = f (x 0 ) + u < f (x 0 ).

  • If ∇g(x 0 ) has linearly independent “rows”, then λ 0 6 = 0.
  • What is the geometric meaning of the Lagrange multipliers?

Nonlinear Programming 37

Inequality Constrained Problems

  • Consider the model problem

Minimize f (x) subject to g(x) = 0, h(x) ≤ 0 ,

¶ f : D ⊂ Rn^ −→ R. ¶ g : D ⊂ Rn^ −→ Rm, m < n. ¶ h : D ⊂ Rn^ −→ Rp.

  • A necessary condition that x 0 be a relative minimum is that there exists vector λ ∈ Rm and μ ∈ Rp^ such that

¶ ∇f (x 0 ) + λ>∇g(x 0 ) + μ>∇h(x 0 ) = 0. ¶ μ>h(x 0 ) = 0.

. If hj (x 0 ) < 0, then μj = 0. . If μj > 0, then hj (x 0 ) = 0. ¶ μj ≥ 0, j = 1,... , m.

  • Prove the above conditions. (The Kuhn-Tucker Theorem)

Linear Programming 39

Discrete Model

  • Suppose that there are m limited resources to be allocated among n competing activities.
  • Define the following notation:

¶ xj = the level of activity j. ¶ cj = the “increase” in profit Z resulted from each unit increase in xj. ¶ bi = the amount of resource i available for allocation. ¶ aij = the amount of resource i consumed by each unit of activity j.

  • Standard form:

Maximize Z = c 1 x 1 +... cnxn subject to a 11 x 1 + a 12 x 2 +... + a 1 nxn ≤ b 1 a 21 x 1 + a 22 x 2 +... + a 2 nxn ≤ b 2 .. . am 1 x 2 + am 2 x 2 +... amnxn ≤ bm x 1 , x 2 ,... , xn ≥ 0.

  • The feasible solutions, that is, the vector x = [x 1 ,... , xn]T^ ∈ Rn^ whose components satisfy all the constraints, form a convex set cut out by hyperplanes.

40 Applications

  • Some critical observations:

¶ The optimal solution occurs necessarily at “corner-point” feasible solutions. ¶ There are only finitely many corner-point feasible solutions. ¶ If a corner-point feasible solution is better (as measured by Z) than all its adjacent corner-point feasible solutions, then it is better than all other corner-point feasible solutions, i.e., it is optimal.

  • The main idea in the simplex method is to identify the corner-point solutions and to check the optimality among adjacent corner-point solutions effectively.

¶ Details of the simplex method will not be reviewed in this note.

42 Applications

  • Want to

Minimize y 1 b 1 +... + ymbm (Total value of resources) subject to y 1 a 11 +... + ymam 1 ≥ c 1 y 1 a 12 +... + ymam 2 ≥ c 2 .. . y 1 a 1 n +... + ymamn ≥ cn y 1 ,... , ym ≥ 0

¶ One unit of activity j will consume, respectively, a 1 j ,... , amj units of resources. ¶ The expense of one unit of activity j, i.e.,

∑m i=1 yiaij^ must generate at least the value cj in profit Z.

  • Weak Duality Theorem: c>x ≤ y>Ax ≤ y>b.
  • Duality Theorem: max c>x = min y>b, if the feasible set is not empty.

Linear Programming 43

An Illustration of the Dual Problem

  • Assumptions:

¶ The minimal daily requirement of calories and vitamins for an adult are 750 calories and 400 units of vitamins. ¶ There are 5 categories of food to choose from with the following nutrition content:

Calories Vitamins Market Prices A 1 0 2 B 0 1 20 C 1 0 3 D 1 1 11 E 1 1 12

Linear Programming 45

  • To find the optimal diet,

¶ Let xi, i = 1,... , 5, denote the respective amount of food in a diet. ¶ Want to minimize W = 2x 1 + 20x 2 + 3x 3 + 11x 4 + 12x 5 , subject to

x 1 + x 3 + x 4 + x 5 ≥ 750 , x 2 + x 4 + x 5 ≥ 400 , x 1 ,... , x 5 ≥ 0.

¶ W is the total price paid for food.

46 Applications

  • The dual problem:

¶ Let

y 1 = the unit price of calorie, y 2 = the unit price of vitamins.

¶ Want to maximize Z = 750y 1 + 400y 2 , subject to

y 1 ≤ 2 , y 2 ≤ 20 , y 1 + y 2 ≤ 3 , y 1 + y 2 ≤ 11 , y 1 + y 2 ≤ 12 , y 1 , y 2 ≥ 0.

¶ Z is the total price paid for nutrition.

48 Applications

A Continous Case

  • Suppose a single goods is being produced which is either sold for reinvestment or kept in the inventory for future usage.
  • Assume

¶ x 1 (t) = rate of production. ¶ x 2 (t) = rate of reinvestment. ¶ x 3 (t) = rate of storage.

  • Whereas

¶ x 1 (t) = x 2 (t) + x 3 (t). ¶ The reinvestment increases the production rate via ˙x 1 (t) = x 2 (t) with initial rate x 1 (0) = x 0 > 0. ¶ x 1 (t), x 2 (t), x 3 (t) ≥ 0 for all t ≥ 0.

  • Want to maximize the storage over a period of time [0, T ].
  • Express the problem in terms of x 2 (t) as

Maximize

∫ T

0

x 0 +

∫ (^) t 0 x^2 (τ^ )dτ^ −^ x^2 (t)

dt

subject to x 0 +

∫ (^) t 0 x^2 (τ^ )dτ^ ≥^ x^2 (t) x 2 (t) ≥ 0

¶ This is an infinite-dimensional “linear” programming problem. ¶ The feasible solutions are defined “implicitly” by the constraints. ¶ The problem can be handled by the theory of Lagrange multiplier.

Calculus of Variations 49

Calculus of Variations

The earliest work of optimization, called the calculus of variations, began in 1969 with the Brachistochrone problem. It then developed into the optimal control theory, mainly by the governments for military usage, in the 1950’s. The theory of nonlinear programming, characterized by the use of Lagrange multiplier principles, came into play only in the last forty years.

  • Calculus of Variations and optimal control theory involve functionals as opposed to real- valued functions involved in nonlinear programming.
  • The idea of differentiation from calculus can still be used in the space of functionals. This is the basis of the Euler-Lagrange equation.

Calculus of Variations 51

Euler-Lagrange Equation

  • Consider the general problem

Minimize I(y) =

∫ (^) b a f^ (x,^ y(x),^ y

′(x))dx, subject to y(a) = ya, y(b) = yb,

where f : R × Rn^ × Rn^ −→ R is smooth and y : [a, b] −→ Rn^ is piecewise smooth.

  • Define F (≤) :=

∫ (^) b

a

f (x, y(x, ≤), y′(x, ≤))dx,

¶ y(x, ≤) := y(x) + ≤z(x). ¶ z(x) is piecewise continuous with z(a) = z(b) = 0.

  • Expand F (≤) around ≤ = 0 to obtain

F (≤) = F (0) + ≤

∫ (^) b

a

z>(x)

∂f ∂y

  • z′(x)>^

∂f ∂y′

dx ︸ ︷︷ ︸ F ′(0)

≤^2

∫ (^) b

a

z>(x)

∂^2 f ∂y^2

z(x) + 2z(x)>^

∂^2 f ∂y∂y′^

z′(x) + z′(x)>^

∂^2 f ∂y′∂y′^

z′(x)

dx ︸ ︷︷ ︸ F ′′(0)

+O(≤^3 ).

52 Applications

  • From calculus, the necessary condition of being a minimizer is F ′(0) = 0 and F ′′(0) ≥ 0.

¶ Upon integration by parts,

0 = F ′(0) = z(x)>

∫ (^) x

a

∂f ∂y

ds

b

a

∫ (^) b

a

z′(x)>

∫ (^) x

a

∂f ∂y

ds +

∂f ∂y′

dx

for all piecewise continuous function z(x) with zero boundary values. ¶ It follows that at the critical point y 0 , the Euler-Lagrange equation (in integral form) ∂f ∂y′^

(x, y 0 (x), y′ 0 (x)) =

∫ (^) x

a

∂f ∂y

(s, y 0 (s), y′ 0 (s))ds + c

must be satisfied. ¶ Equivalently, the Euler-Lagrange equation in differential form is

∂f ∂y

(x, y 0 (x), y 0 ′(x)) =

d dx

∂f ∂y′^

(x, y 0 (x), y′ 0 (x)).

  • Use the Euler-Lagrange equation to solve the brachistochrone problem.