Chap 5.2 Design Optimization
Chap 5.2 Design Optimization
Defn:
An optimization problem in design is a process of selecting the “best”
alternative design within available resources.
Design is a process that gives the “best” physical size (optimal size) or the
“best” product performance, obtained through iterative process
optimization is a part of a design process, not the design process
Example: Formulation of design problem for optimization
Optimization
variables
Objective function
NB: Selection of the optimization variables and the objective functions is dictated by the design intent
CAD/CAM and Additive Manufacturing 6
The Optimization-based design process …
D
performance parameter as a function of the design variables
to minimize (maximize) under given constraint(s)
h
Example: Soda can design to maximize the volume, given that
the surface area must not exceed a given limit (A0)
Design variables: r = D/2 and h
Objective: Maximize V(r, h),
where: V(r,h) =
Constraint: S(r, h) = A0 - (Equality constraint);
where S(r,h) =
r >0; h > 0 - (Side constraint)
Objective function
Inequality constraint
Equality constraint
Design variable
NOTE:
Both objective functions and constraint functions must be (explicitly or
implicitly) expressed as a function of design variables, which are controlled
by the designer
CAD/CAM and Additive Manufacturing 9
Standard Optimization statement …
OR
Design variables
A = f(X) = b*h
Optimization variable:
Parameters to be optimized (i.e. minimized or maximized)
Objective function: performance index derived from optimization variables
Composite objective function:
when it is impossible to express the problem using a single optimization function.
Composite objective functions are often used because many design problems
cannot be expressed by a single function.
CAD/CAM and Additive Manufacturing 11
Design Optimization … Optimum design formulation …
Constraints:
Example, minimizing the x-section (or the weight) of a beam and limiting the size of
the bending stress in the beam.
Stress in the beam should be constrained to a value less than the allowable stress
of the material
Inequality constraint
Side constraint:
a constraint that restricts the boundary limits on the optimization variables.
This will be the case when the independent variables have a range of validity
Example: b, h > 0
CAD/CAM and Additive Manufacturing 12
General Optimization Procedure
3. Nature of expression:
Linear, nonlinear and
quadratic programming problems
4. Discipline based:
Single disciplinary and multidisciplinary optimization problems (SDO vs. MDO)
Example: structural optimization (SDO) and structural and thermal (MDO)
2. Graphical method:
- provides clear picture of the feasible region and
iso-lines of the objective function (f(x) & g(x)
are plotted in the design space)
- limited application – difficult to handle
more than two design variables.
Solution without numerical calculation. Graphical solution of the beam section
CAD/CAM and Additive Manufacturing 17
Optimum design problem formulation
Optimization Methods: Classification of Solution Techniques
3. Search methods:
- Involve numerical calculation through iterative process
- Derivatives of objective function and constraint function guide the search
( gradient-based).
Example; steepest descent method for unconstrained optimization (invented by Cauchy)
- Non-gradient approaches use certain rules not based on derivatives, e.g. SA, GA, ..
CAD/CAM and Additive Manufacturing 18
Optimum design problem formulation
Optimization Methods: Classification of Solution Techniques
Can be constrained or
unconstrained
Proper definition and formulation of the problem takes roughly 50% of the total
effort needed to solve it!
In other words:
Process of transforming the current design of a system/ product into an optimum
design problem is crucial.
1. Project/problem statement.
2. Data/info collection.
5. Identification of constraints
1) Problem statement: To design a soda can that holds at least400 ml soda. The cost of
sheet metal is to be minimized. Diameter no more than 8 cm and no less than 3.5 cm,
height no more than 18 cm and no less than 8 cm.
D
2) Data collection: (stated in problem statement)
3) Identification/definition of design variables:
h
Two design variables: x1 = D and
x2 = h.
4) Criterion to Be Optimized:
minimizing the total surface area S of the sheet metal
for the three parts of the cylindrical can
D
4) Criterion to Be Optimized:
h
minimizing the total surface area S
πD 2 1
h ≤ 400 ml (= cm ) ⇒ g ( x) = π x12 x2 ≤ 400
3
4
Objective function : 4
πD 2 π x12
F = πDh + ⇒ f ( x) = π x1 x2 +
2 2
5) Constraints: the can must hold at least 400 ml
𝜋𝜋𝐷𝐷2 1 2
h ≥ 400 𝑚𝑚𝑚𝑚 (= 𝑐𝑐𝑐𝑐3 ) 𝑥𝑥1 𝑥𝑥2 ≥ 400)
4 4
3,5 ≤ x1 ≤ 8 cm and 8 ≤ x2 ≤ 18 cm
Exercise (homework)
• Objective:
minimize the total mass of the structure while
satisfying desired performance
x1
0.5x2
o Side constraints
Xil = lower limit & Xiu = upper limit values for design variables
σa = allowable stress
d x1
x = D = x2
N x3
f ( x) = A ⋅ L ⋅ ρ ρ = mass density
πd 2
π 2
2
= ⋅ πDN ⋅ ρ = d DNρ
4 4
π 2ρ
⇒ f ( x) = x12 x2 x3
4
8FD
τ = ks ≤ 70 MPa
πd 3
1 k
fn = ≥ 100
2π m
Damping factor
Gd 4
πd 2
where k = 3
and m = DNρ
8 ND 4
Damping ratio
G 2 −1
⇒ g 3 ( x) = x x 2 3 >1
200π 2 ρ
Example
illustrations
Soda can
parameters
2. Graphical method:
- provides clear picture of the feasible region, iso-lines of the objective function
f(x) & the constraint functions gi(x), which are plotted in the design space)
47
Graphical method: Introduction
Graphical method is best convenient
to visualize in solving optimization
problems of few variables
(cumbersome for problems with more
than two variables)
The solution is obtained quickly without
involving numerical algorithms
The approach involves:
Plotting all constraint functions
Identifying a set of feasible designs (the
feasible set) for the problem
Drawing the objective function contours, and
Determining the optimum design by
inspection
We use the five-step procedure to
illustrate the solution approach using
examples
48
Graphical method …
Example 1: Optimization of beam cross-section
Step 1: Project/problem description
A beam of rectangular cross-section is subjected to
a bending moment M (Nmm) and a maximum shear
force V (N). The allowable stresses in bending and
shear are 10 MPa and 2 MPa, respectively. It is also
desirable that the depth of the beam not exceeds twice
its width and that the cross-sectional area of the beam be minimized.
Formulate and solve the problem using the graphical method.
The bending stress in the beam is calculated as
6𝑀𝑀
𝜎𝜎 = 2 (MPa), and
𝑏𝑏ℎ
3 𝑉𝑉
The max. shear stress is calculated as τ= (MPa),
2 𝑏𝑏ℎ
where b is the width and h is the depth of the beam
49
Example 1…
Step 2: Data and information collection
Let bending moment M = 40 * 103 kN.mm and
All other data and necessary equations are given in the project statement.
50
Example 1…
240 × 106
= (MPa) ≤ 𝜎𝜎𝑎𝑎 = 10 MPa
𝑏𝑏ℎ2
240 × 106
𝑔𝑔1 = − 10 ≤ 0
𝑏𝑏ℎ2
3 𝑉𝑉 3 150× 103
Shear stress: τ = =
2 𝑏𝑏𝑏 2 𝑏𝑏𝑏
225 × 103
= (MPa) ≤ τ𝑎𝑎 = 2 MPa
𝑏𝑏𝑏
225 × 103
𝑔𝑔2 = −2 ≤0
𝑏𝑏ℎ
51
Example 1…
𝑔𝑔3 = h −2𝑏𝑏 ≤ 0
52
Example 1…
A – B represents an
optimum solution, so
there are infinite
optimum designs.
53
Example 1…
54
Example 1…
Summary of the optimization problem
Minimize: f(b,h) = bh
240 × 106
Such that: 𝑔𝑔1 = − 10 ≤ 0
𝑏𝑏ℎ2
225 × 103
𝑔𝑔2 = −2 ≤0
𝑏𝑏𝑏
𝑔𝑔3 = h −2𝑏𝑏 ≤ 0
𝑔𝑔4 = −𝑏𝑏 ≤ 0 and
𝑔𝑔5 = -h ≤ 0
Homework: Solve the optimization problem and find the optimized value using
a) EXCEL Solver (Try)
b) MATLAB code
55
Graphical method …
Ex am ple 2: P rofit m ax im ization problem (graphical method)
1. Problem description:
A company manufactures two machines, A and B, with a capacity of either 28 parts
of A or 14 parts of B per day.
The sales department can sell up to 14 machines of A type or 24 machines of B
type, while the shipping facility can handle no more than 16 machines per day.
The company makes a profit of $400 on each A machine and $600 on each B
machine.
How many A and B machines should the company manufacture every day to
maximize its profit?
Constraints : g1 ( x) = 2 x1 + x2 − 4 ≤ 0
g 2 ( x) = 3 x1 + 2 x2 −12 ≤ 0 Solve this optimization
g 3 ( x) = 5 x1 + 4 x2 − 20 ≤ 0 problem graphically!
Side constraints (material flow bound) :
0 ≤ x1 ≤ 3 and 0 ≤ x2 ≤ 6
58
Summary and Questions
?
Next: Chap. 5.3: Structural optimization and introduction to search tools
59