Chapter 2 · 4 hours
Optimization Techniques
Practice questions
Practice questions and answers
3 exam-style questions on this chapter, written for this site from the official syllabus. We haven’t found past IOE papers for this subject yet; if you have some, share them in the community.
- Practice · 6 marks
A closed cylindrical steel tank must hold 2 m³ of liquid. Using differential calculus, find the diameter and height that need the least sheet-metal area. Show that your solution is a minimum and give the minimum area.
Answer
Method: optimisation by differential calculus. Write the objective (surface area), eliminate one variable using the constraint (volume), set the first derivative to zero and check the second derivative.
Formulation
Let = radius and = height.
- Objective: (minimise)
- Constraint:
Substitute :
Stationary point
Then m and
so the best tank has height equal to diameter.
Check for minimum
The second derivative is positive, so this is a minimum.
Minimum area
Answer: m, (second derivative ).
- Practice · 3+5 marks
(a) Explain the golden section search method for a single-variable function, and state why it is better than the exhaustive search. (b) Use the golden section method to locate the minimum of in the interval . Carry out four iterations and give the final interval and the estimated minimum. Take the golden ratio constant as 0.618.
Answer
(a) Golden section search
It is an interval-reduction method for a unimodal function (one minimum in the interval). Two interior points are placed at
- If , the minimum lies in , so set .
- Otherwise it lies in , so set .
The old interior point is reused as one new interior point, so each iteration needs only one new function evaluation and shrinks the interval by 0.618. Exhaustive search needs many evaluations for the same accuracy, so golden section is much cheaper. It needs no derivative.
(b) Numerical
Initial , length 4.
| Iter | Keep | ||||||
|---|---|---|---|---|---|---|---|
| 1 | 1.000 | 5.000 | 2.528 | 3.472 | 27.752 | 27.608 | |
| 2 | 2.528 | 5.000 | 3.472 | 4.056 | 27.608 | 29.763 | |
| 3 | 2.528 | 4.056 | 3.111 | 3.472 | 27.036 | 27.608 | |
| 4 | 2.528 | 3.472 | 2.889 | 3.111 | 27.038 | 27.036 |
After four iterations the interval is (length 0.583, which is ).
Estimated minimum at the mid-point: , .
Check by calculus: , . The search interval contains this point.
Answer: final interval ; (true minimum , ).
- Practice · 4+4 marks
Write short notes on: (a) linear programming and geometric programming; (b) multivariable search methods and multifactor objective functions in design optimisation.
Answer
(a) Linear programming and geometric programming
Linear programming (LP) optimises a linear objective subject to linear constraints.
- Graphical method for two variables: plot constraints, find the feasible region, and check the corner points. The optimum is always at a vertex.
- For many variables the simplex method is used.
- Design use: product mix, material cutting, allocation of machine hours.
Geometric programming (GP) handles objective and constraints written as posynomials (sums of positive terms with product of powers):
Using the arithmetic-geometric mean inequality it gives the optimum cost from the dual problem, often before the design variables are known. The weights satisfy normality and orthogonality conditions. The number of degrees of difficulty is (number of terms) (variables) 1; zero means the solution is found by solving linear equations. Use: design of tanks, beams, gear trains where cost has power-law terms.
(b) Multivariable search methods
Methods for several variables without derivatives (or with them):
- Lattice (grid) search: evaluates a grid; simple but expensive.
- Univariate search: change one variable at a time to its best value, then the next, and repeat.
- Steepest descent (gradient): move along with a step length found by line search.
- Pattern search (Hooke-Jeeves), Simplex (Nelder-Mead), Newton and conjugate gradient for faster convergence.
x2
| . . . contour of f
| . * . * = optimum
| . / . steps follow
| /___. descent path
+----------- x1
Multifactor objective functions
Real designs have several goals (weight, cost, life, safety). Methods to combine them:
- Weighted sum: with (after normalising the ).
- Constraint method: optimise the most important goal and convert the others to constraints.
- Pareto set: collection of designs where one objective cannot improve without worsening another; the designer chooses from it.
Written from the official syllabus. Questions and answers are written for this site; check them against your class notes.
Chapter titles and hours from the IOE syllabus ↗