Lecture Note Chapter 1
Lecture Note Chapter 1
Lecture Note Chapter 1
NOVEMBER, 2023
CHAPTER ONE
INTRODUCTION TO OPTIMIZATION
CHAPTER TWO
Finishing
Overhea
/product
Threads
(Meter)
Cutting
Fabrics
(Gram)
Sewing
Pants)
Labor
(Birr)
(Birr)
Profit
(Min)
(Min)
(Min)
ds
Polo T-shirts 5 24 20 25 25 50 56 42
Basic T-shirts 13 26 15 10 15 10 30 36
Mock Neck T- 12 25 21 50 20 25 25 34
shirts
singlet’s 15 20 10 20 20 39 25 31
Available 1500 2000 30000 50000 80 124
resource
functionals)
of optimization)
Historical development….cont’d
Augustine Louis Cauchy 1789-1857 Solution by direct substitution, steepest descent method for
unconstrained optimization
Leonhard Euler 1707-1783 Calculus of variation, minimization of functional
Gottfried Leibnitz 1646-1716 Differentials calculus methods of optimization
George Bernard Dantzig 1914-2005 Linear programming and simplex methods
Abbert William Tucker 1905-1995 Necessary and sufficient condition for the optimal solution of
programming problems, non linear programming , game
theory
Von Neumann 1903-1957 Game programming
2. Modern Methods of Optimization
The modern optimization methods, also sometimes
called nontraditional optimization methods, have
emerged as powerful and popular methods for solving
complex engineering optimization problems in recent
years.
These methods include:- Genetic Algorithms, Simulated
Annealing, Particle Swarm Optimization, Ant Colony
Optimization, Neural Network-Based Optimization, and
Fuzzy Optimization.
Trends of modern optimization methods
1995
1992
1986
1985
1975 1975
Genetic Algorithms Simulated Annealing Neural Network Fuzzy Optimization Ant Colony Particle Swarm
Method Methods Methods Optimization Optimization
Algorithm
ENGINEERING APPLICATION OF OPTIMIZATION
Fig. 1
Fig. 2
NECESSARY AND SUFFICIENT CONDITIONS
FOR OPTIMALITY
1. Necessary Condition
If a function 𝑓(𝑥) is defined in the interval 𝑎 ≤ 𝑥 ≤ 𝑏
and has a relative minimum at 𝑥 = 𝑥∗ ,
Where 𝑎 ≤ 𝑥∗ ≤ 𝑏 and
if d𝑓(𝑥) exists as a finite number at 𝑥 = 𝑥∗ , then
d𝑓(𝑥∗) = 0
2. Sufficient Condition
Suppose at point x* , the first derivative is zero and first
nonzero higher derivative is denoted by n, then
fn(x*) > 0 and if n is even, the function f(x) has local
minimum at the point x*
fn(x*) < 0, and if n is even, the function f(x) has local
maximum at the point x*
But if n is odd the function has neither a maximum
nor a minimum, it has inflection point.
Example 1 single variable optimization problem
Find the extreme point for the given function
f (x) = 3x4 – 4x3 – 24x2 + 48x + 15
1. Necessary Condition
f’ (x) = 0
f’ (x) = 12x3 – 12x2 – 48x + 48
= 12 (x3 – x2 – 4x + 4)
= 12(x -1) (x2 -4)
= 12(x – 1) (x + 2) (x – 2)
x = 1, x = -2, x = 2 ( extreme point/stationary point)
2. Sufficient Condition
f” (x) = 36x2 – 24x – 48
Find the value of f” (x) at x = 1, x = -2, x = 2
At x = 1, f” (1) = -36 (< 0, n is even)
At x = 2, f” (2) = 48 (> 0, n is even)
At x = -2, f” (-2) = 144 (>0, n is even)
From this we can say that the point :-
x = 1 is relative maxima
x = 2 and x = -2 are relative ( local) minima.
Therefore
at x = 1, f(x) has relative or local maximum and it
value is 38,
at x = 2, f(x) has relative minimum and its value is
31,
at x = -2, f(x) has relative minimum and its value is
-97
Example 2
Determine the maximum and minimum values of the function:-
f (x) = 12x5 − 45x4 + 40x3 + 5
Example 2
Determine the maximum and minimum values of the
function:- f (x) = 12x5 − 45x4 + 40x3 + 5
NECESSARY CONDITION
Eq….1
Eq……2
Eq…. 3
y - = 0
x-=0
6–x–y=0 x* = y* = 3
Example 2
A factory manufactures HONDA CITY and HONDA CIVIC cars. Determine the
optimal number of HONDA CITY and HONDA CIVIC cars produced if the
factory capacity is 90 cars per day, and the cost of manufacturing is C (x, y)= 6x2
+ 12y2 , where x is the number of HONDA CITY cars and y is the number of
HONDA CIVIC cars produced.
Solution
Decision variables, x = no of Honda city car produced
y = no of Honda civic car produced
Objective is cost minimization
Minimize, f = 6x2 + 12y2
What are the constrains?
Total number of cars produced per day
x + y = 90
L(x, y,) = f(x) + g(x) = 6x2 + 12y2 + (90 – x – y)
12x - = 0
24y - = 0
f ( x1 , x2 , x3 ) ( x12 1000) ( x22 1000) ( x32 1000) 20( x1 50) 20( x1 x2 100)
x12 x22 x32 40 x1 20 x2
Solution cont’d:
The constraints can be stated as:
g1 ( x1 , x2 , x3 ) x1 50 0
g 2 ( x1 , x2 , x3 ) x1 x2 100 0
g 3 ( x1 , x2 , x3 ) x1 x2 x3 150 0
• Case I: 1=0
• Case II: x1=50
• Case I: 1=0
Equations (E1) to (E3) give
3
x3
2
2 3
x2 10 (E13)
2 2
2 3
x1 20
2 2
Substituting Equations (E13) into Eqs. (E5) and (E6) give:
2 (130 2 3 ) 0
3
3 (180 2 3 ) 0 (E14)
2
The four possible solutions of Eqs. (E14) are:
1. 2=0, -180- 2-3/2 3=0. These equations along with Eqs.
(E13) yield the solution:
give:
(20 2 x2 2 x3 )( x1 x2 100) 0
(2 x3 )( x1 x2 x3 150) 0 (E16)
Solution cont’d:
Case II: x1=50. Once again, there are four possible solutions to
Eq.(E16) as indicated below:
x1 = 50, x2 = 45, x3 = 55
x1 = 50, x2 = -10, x3 = 0
This solution can be seen to violate Eqs.(E8) and (E9) which say:
( x1 x2 100) 0 (E8)
( x1 x2 x3 150) 0 (E9)
3. x1 + x2 -100 = 0, -2x3 = 0: The solution of these equations yields:
x1 = 50, x2 = 50, x3 = 0
This solution can be seen to violate Eq. (E9) which say:
( x1 x2 x3 150) 0 (E9)
4. x1 + x2 -100 = 0, x1 + x2 + x3 -150 = 0 : The solution of these
equations yields:
x1 = 50, x2 = 50, x3 = 50
This solution can be seen to satisfy all the constraint Eqs.(E7-E9)
which say
( x1 50) 0 (E7)
( x1 x2 100) 0 (E8)
( x1 x2 x3 150) 0 (E9)