11-Optimization For Engineering Design
11-Optimization For Engineering Design
(knowledge loop)
Design is an iterative proces Scientific Knowledge
+
Start: - poorly defined problem Existing Devices
knowledge Components
- refine it Materials
Manufacturing methods
- develope a model NEED (Society) Market
Economic conditions
- a solution Requirements Limitations
- More than one solution
CONCEPTUALIZATION
Decision making: selecting the best
choice from among a small number of
known design options
VERIFICATION
Feasibility analysis
Optimal Design means the best of all
feasible designs.
REVISION MODIFICATION
Optimization is the process of maximizing No No
Decision
a desired quantity or minimizing undesired (Convergence)
one. ?
Initial design
(size and shape parameters)
Yes
Numerical Analysis OPTIMIZATION
Performance measure
Sensitivity analysis
Objective Function: Defines the value of the design in terms of the independent
variables (Design Variables) established.
F F ( x1 , x 2 , . . . . . , x n )
Typical objective functions could be cost, weight, reliability, or producibility
Functional constraints: Constraints arise from physical laws and limitations or from
compatibility conditions on the individual variables.
Functional constraints g , also called equality constraints, specify relations that must
exist between the variables.
g1 g1 ( x1 , x 2 , . . . . . , x n ) 0
g 2 g 2 ( x1 , x 2 , . . . . . , x n ) 0
.
.
g 3 g 3 ( x1 , x 2 , . . . . . , x n ) 0
Regional constraints: Reginal constraints h, also called inequality constraints, are imposed
by specific details of the problem. A type of regional Constraint that arises naturally in
design situations is based on specifications. Specifications are points of interaction with
other parts of the system
h1 h1 ( x1 , x 2 , . . . . . , x n ) L1
h2 h2 ( x1 , x 2 , . . . . . , x n ) L 2
.
.
hm hm ( x1 , x 2 , . . . . . , x n ) L m
* * * * * *
Optimal Solution: F F ( x1 , x 2 , . . . . . , x n ) F is min or max
İlhan Konukseven ME 407 Mechanical Engineering Design 2
Example: Optimize the cost of a cylindrical tank to store a fixed volume of liquid V.
The tank will be constructed by forming and welding thin steel plate.
Design variables:
Tank diameter :D
Tank height :h
Objective Function : The cost depends directly on the area of the plate
(C is the cost per unit area)
D 2
F C( Dh)
2
Functional constraint : is introduced by the requirement that the tank must hold a
specified volume
D 2h
V
4
Regional constraints : are introduced by the requirement for the tank to fit in a
specified location or to not have unusual dimensions
d 2F
0 If the curvature is positive, SP indicates a local minimum
dx12
Mathematical Maxima The tank problem:
Global maximum
Local maximum D 2
F C( Dh)
2
D 2h 4V
V h
4 D2
F dF 4CV
0 C D 2
dD D
Point of Inflection
1/ 3
4V
D 1.084 V 1 / 3
The Lagrange multipliers provide a poweful method for finding optima in multi-variable
problems involving functional constraints.
Design variables:
x, y, z
Objective Function:
F F1 ( x , y , z )
Subject to the functional constraints:
Functional constraint:
g1 g1 ( x , y , z )
g2 g2 ( x , y, z )
The Lagrange expression (LE):
LE F1 ( x , y , z ) 1 g1 ( x , y , z ) 2 g 2 ( x , y , z )
1 and 2 are the Lagrange multipliers.
The following conditions must be satisfied at the optimum point
LE LE LE LE LE
0 0 0 0 0
x y z 1 2
İlhan Konukseven ME 407 Mechanical Engineering Design 5
Optimization by Lagrange Multipliers (Example)
Design Parameters: x, y, z
One approach to deal with the constraint on the volume is to solve constraint
aquation for one of the variables, then substitude back to eliminate one variable:
C C
0, 0
x y
In practice it may not be possible to solve the constraint equation. Suppose the
constrait equation was of the form:
Cos( xy ) z 2 e yz
2Wz 2 ( x y )( x y )
S( x y) 0
V
2Wz 2 ( x y )
( x y ) S 0
V
2Wz 2 ( x y )
( x y) 0 S 0
V
This tells us that the optimum design for the container is one in which the bottom
plate is square
Uniform Search
In the uniform search method the trial points are spaced equally
over the allowable range of values
with four experiments we have narrowed the range of values that require
further search to 40 percent of the total range.
Pair # n/2
Each interval width L/[(n/2)+1]
For n=4
d1 = (2/5)10=4
Since y4 > y6, the interval 6 < x < 10 is eliminated
d2 is obtained by letting n2 = n – 1
d2 = (Fn-3/Fn-1)L
d2 = 1/3(6)=2
Since y4 > y2, the interval 0 < x < 2 is eliminated
Last experiment:
x=4.06 to determine whether the optimum is 2 < x < 4 or 4 < x < 6
(interval of uncertainty)
with this search technique four experiments have narrowed the range of values to
4 < x < 6 that require further search to 20 percent of the total range.
Fibonacci search has the disadvantage that it requires an advance decision on the number
of experiments before we have any information about the behavior of the function near
the maximum.
Golden section search does not require an advance decision on the number of trials.
n 0 1 2 3 4 5 6 7 8 9 ..
Golden mean: Fn-1/Fn=0.618 where n > 8 Fn 1 1 2 3 5 8 13 21 34 55
F(x) F(x)
0.618L1 0.618L2
0.618L1 0.618L2
a b x c a b x
0 1 0 1
0.382 0.618 0.236 0.618
0.382
F(b) > F(c) [b, 1 ] eliminated F(a) > F(c) [0, c ] eliminated
Golden mean (0.618): a length divided into two unequal segments such that the ratio of the
length of the whole to the larger segment is equal to the ratio of the length of the larger
segment to the smaller segment.
F(x) F(x)
L3=0.382
0.618L2 0.618L3
0.618L2 0.618L3
x a x
0 c a b 1 0 0.236c 0.382 d b
0.618 1
0.236 0.618 0.472
0.382
F(a) > F(c) [0, c ] eliminated F(d) > F(a) [0, a ] eliminated
(interval of uncertainty)
with this search technique four experiments have narrowed the range of values to
0.382 < x < 0.618 that require further search to 23 percent of the total range.
Reduction ratio: The ratio of the original interval of uncertainty to the interval remaining after
n trials.
Reduction ratio
Search Method For n=4 For n=13
Uniform (n+1)/2 2,5 7
Uniform dichotomous (n+2)/2 3 7,5
Sequential dichotomous 2^n/2 4 90
Fibonacci Fn 5 377
Golden search 4,3 250
The starting point is selected near the center of the region, at point 1. The objective function is
evaluated for points one through nine. If point five turns out to be the largest value, it becomes
the central point of the next search. The procedure continues until the location reached is one at
which the central point is greater than any of the other eight points. Frequently, a coarse grid is
used initially and a finer grid is used after the maximum is approached.
If the responce surface contains a ridge, then the univariate search can fail to find an
optimum.
F F
F i1 i2
x1 x 2
To move in the direction of the gradient vector, take the
step lengths x1 and x1 in proportion to the
components of the gradient vector.
F
For the general case of n independent variables, F = F(x1, x2, . . . . . . .xn). x
1
F
x
F 2
.
Starting at the initial point, we take a small finite difference x i in each .
variable and evaluate the function at each x i x i in turn, holding all F
other x i at their initial values. Fi Fi F0 x
n
*
1
xi 1 xi i S i S1 F
1
*
4. Test xi+1 0.1
if xi+1 is optimum stop search 0 1 0.1
X 2 0.1
0 1 0.1
5. i=i+1 goto step 2 0.8
S 2 F
0.6
Convergence Criteria: 0.1 0.8 0.18
X3 0.1
0.1 0.6 0.16
F ( xi 1 ) F ( xi )
1 Change in function value is small S 3 F
0.6
F ( xi ) 1.04
0.18 0.6 0.24
F Components of Grad. is small
X3 0.1
2 0.16 1.04 0.26
x i .
.
xi 1 x i 3 Change in design vector is small 1
Xn
1.5
The most widely studied class of optimization problems involving inequality constraints
consists of both an objective function F and a set of constraints that are linear functions
of the design variables. This class of problems is called linear programming.
(mathematical term)
F ( x1, x 2 , . . . ., x n ) k i x i
n
Where xi and n design variables, subject to m constraints on the design variables of the
form
ai
ij xi rj j 1,2, . . . , m
In the above expressions, aij and ki are constants presumed to have known values in any
particular problem. The standart form of linear programming problems also requires that
the design variables be non-negative, that is
xi 0
We wish to add two additives to the parent metal iron to design a speciality steel with
certain enhanced properties.
F=2x1+x2
Second constraint: undesirable effects of the alloy additives on the metal’s corrosion
resistance
Additive 1 increases the corrosion resistance by 1% for every 1% incereases
Additive 2 decreases the corrosion resistance by 2% for every 1% increases
The maximum acceptable decreases in corrosion resistance is %4
2 x2 x1 4 ( 2 )
İlhan Konukseven ME 407 Mechanical Engineering Design 21
Linear Programming (Example)
x1 0 ( 5 )
( 4 ) redundant
x2 0
( 2 )
( 3 )
x2=F-2x1
All lines have a slope of-2; the position of each line is determined by the value of F.
F = 6.5
F=0 F=2 F=4 F=6