Optimization Lesson 1 - Introduction
Optimization Lesson 1 - Introduction
(ME3202)
• Design: Estimation of the sizes and shapes of parts of a system to meet performance and
durability requirements.
• E.g. – Estimation of the unknown geometry (length and cross-section) of a ‘power
transmission shaft’ for specific loading conditions (Design of Machine Elements)
Difficulties with conventional design
• Again, for a component, when designed prioritizing its durability, by avoiding hidden flaws
and uncertainties in working conditions, it is called a ‘conservative design’. Conservative
designs are bulky yet again may not prevent the catastrophe.
• E.g. – Incorporation of ‘Factor of Safety’ and other uncertainty factors in design.
• To avoid bulkiness, entire design may be changed, and ‘new design’ is adopted. The term
‘new’ may signify different geometry or configuration of the part and/or different
manufacturing technique.
• E.g. – The failures of the Liberty Ships during the World War II may be considered. The
Liberty ship was designed adopting of completely new design, all welded hull for a ship.
• Innovation and commercial rivalry sometimes result in ‘over-engineering’.
• E.g. – 4K display in smartphones makes no visible difference than HD display.
• In conventional design, the designer assumes a particular mechanism, a particular material
and mode of failure for the component. With the help of this information, he determines
the dimensions of the product.
Iterative Design – Trial & Error approach
• The estimated design is analyzed, called ‘Design Analysis’, to see if the corresponding component
performs according to given specifications. If it does, we have an acceptable (feasible) design.
• Although, the design may still be changed for an existing acceptable design to further improve the
component’s performance and/or durability (but may increase cost or complexity).
• It is realized, by experience, that there are many ways to accomplish the same task. Different
‘choices’ of features lead to different designs of the same component, called ‘workable designs’.
• E.g. – Transmission shaft under torsional loading may be 1) long with large dia. or, 2) short with
small dia. Resulting in similar functionality and life (as per continuum consideration)
• The choices, though, are not arbitrary, there are certain ‘constrains’
• E.g. – Space restrictions, budget constrains, the part may be belonging to a pre-designed assembly,
Fastener and bearing are available in specific ratings, etc.
• Design cannot be explicit, is an iterative process improved by feedbacks
Optimization in Design
• To this point, we have many alternative (workable) designs but it cannot be said which
one is the ‘best design’ (or optimum design) among those many possibilities.
• Optimization: It is a process of finding the ‘best possible’ or ‘most efficient’ solution.
Mathematically, it is the process of maximizing or minimizing the ‘objective function’ by
systematically choosing or altering (collectively known as ‘optimizing’) the design
variables subject to constraints (or not).
• Design Synthesis is the process where the designer (creates or,) selects optimum
configurations, materials, shapes and dimensions for a product from a number of
alternative solutions.
(a) Conventional Design
vs.
(b) Optimum Design
Gradient Projection
method
Extremum and Optimal Point
Local optima: A point or solution 𝑥𝑖∗ is said to
be a local optimal point, if there exists no other
point (𝑥𝑖 ) in the neighbourhood of 𝑥𝑖∗ , which is
better than 𝑥𝑖∗ ; or in other words, if the
objective function y(𝑥𝑖 ) evaluated at the every
neighbouring points 𝑥𝑖 of the solution 𝑥𝑖∗ do not
attain the value as extremum as y 𝑥𝑖∗ .
Global optima: A point or solution 𝑥𝑖∗∗ is said
to be a global optimal point, if there exists no
other point (𝑥𝑖 ) in the entire search space,
which is better than 𝑥𝑖∗∗ ; or in other words, if
the objective function y(𝑥𝑖 ) evaluated at any
point 𝑥𝑖 in the entire search space, do not attain
the value extremum than y 𝑥𝑖∗∗ .
Inflection Point
An inflection point 𝑥𝑖∗ is a point on a curve at which the sign of the curvature (i.e., the
concavity) changes. Inflection points may be stationary points, but are not local maxima or
local minima.
First Derivative and the Gradient Vector
• The optimality criteria for multi-variable functions are different as the derivatives are not
𝑑𝑓 𝑑2 𝑓
scalar quantities or, , in case of single variable function anymore.
𝑑𝑥 𝑑𝑥 2
• The gradient vector at any point 𝑥𝑗∗ is represented by 𝛻𝑓(𝑥𝑗∗ ) which is an 𝑁-dimensional
vector given as:
𝜕𝑓 𝜕𝑓 𝜕𝑓 𝑇
𝛻𝑓 𝑥𝑗∗ = , ,…, ฬ , here, 𝑇 is for ‘transpose’.
𝜕𝑥1 𝜕𝑥2 𝜕𝑥𝑁
𝑥𝑗 =𝑥𝑗∗
b) A point 𝑥𝑗∗ is a stationary point for a multi-variable objective function, 𝑓(𝑥𝑗 ), if the
gradient vector at 𝑥𝑗∗ , 𝛻𝑓 𝑥𝑗∗ = 𝟎. (Remember, 𝟎 is a null vector of dimension 𝑗)
Optimality Conditions for Unconstrained Problems
• The sufficient condition for optimality:
1) a) For a single-variable objective function, 𝑓 𝑥 , there exists a local maxima, or a local
minima, if first non-zero 𝑛𝑡ℎ derivative of the objective function at 𝑥 ∗ be negative
𝑑𝑛𝑓 𝑑𝑛𝑓
i.e. 𝑑𝑥𝑛 ቚ ∗ < 0 and 𝑛 is even, or, positive i.e. ቚ > 0 and 𝑛 is even, respectively.
𝑥 𝑑𝑥 𝑛 𝑥 ∗