Lecture 12
Lecture 12
Lecture 12
1
ATTENDANCE
2
INTRODUCTION
• Optimization is the process of creating something that is as effective as
possible.
3
OPTIMIZATION AND ENGINEERING PRACTICES
• Typically deals with finding the ‘best result’ or optimum solution of a problem. Hence for
engineering practices, they are often termed as best design or pre descriptive model.
• However, in doing so, engineers are constrained by the limitations of the physical world and
also cost.
4
Examples of optimizations of chemical engineering problems:
1. Designing a pump and fan for the maximum efficiency at a minimum
cost.
2. Designing a heat transfer equipment with the minimum surface area
at a fixed efficiency.
3. Designing a waste water treatment system to meet water quality
standard at the minimum cost.
6
• In multimodal functions,
both local and global optima
can occur. In almost all
cases, we are interested in
finding the absolute highest
or lowest value of a function.
• You will learn about:
1. Golden-section search
2. Newton’s method
7
GLOBAL OPTIMUM VS. LOCAL OPTIMUM
• A global optimum represents the very best solution while a local optimum is better
than its immediate neighbors – Cases that include local optima are called multimodal
• Generally desire to find the global optimum
8
GOLDEN-SECTION SEARCH
• Search algorithm for finding a minimum on an interval with a
single minimum (unimodal interval)
• Uses the golden ratio to determine location of two interior
points x1 and x2; by using the golden ratio, one of the interior
points can be re-used in the next iteration.
• For a unimodal function:
1. First pick two points that will bracket your extremum [xl , xu ].
2. Pick an additional third point within this interval to determine
whether a maximum occurred.
3. Then pick a fourth point to determine whether the maximum has
occurred within the first three or last three points
4. The key is making this approach efficient by choosing intermediate
points wisely thus minimizing the function evaluations by replacing
the old values with new values.
9
10
11
12
• Two results can occur:
• If f(x1)>f(x2 ) then the domain of x to the left of x2 from xl to x2 , can
be eliminated because it does not contain the maximum. Then, x2
becomes the new xl for the next round.
• If f(x2 )>f(x1 ), then the domain of x to the right of x1 from xl to x2 ,
would have been eliminated. In this case, x1 becomes the new xu for
the next round.
• New x1 is determined as before
13
• The real benefit from the use of golden ratio is because the
original x1 and x2 were chosen using golden ratio, we do not need
to recalculate all the function values for the next iteration.
14
NEWTON’S METHOD be 3rd years
C will
just skip taught in
15
• It is an open method used to find the minimum and maximum of
f(x).
• Disadvantages:
• Impractical for cases where derivatives cannot be conveniently
evaluate.
• Can only be used when the initial guess values are close to optimum.
16
17
------------------------------------------------
18