TactivergeLite

Lite / Engineering Complex Systems / Week 30

Formulate first: variables, objectives, constraints and Pareto fronts

The lightest arm draws the most power; the frugal one is heaviest. Is there a 'best' arm at all?

About 45 min · 3 goals · Checked by automated tests · Full interactive version

Why should I care?

Most optimisation failures are formulation failures: the wrong objective, a forgotten constraint, or a single number hiding a trade-off. Writing the problem down precisely is where engineering judgement goes; the search is the easy part.

Predict

Eight arm designs compete on mass and power, lower is better for both. At most how many can be 'non-dominated'?

  1. Exactly one: the best
  2. Two: the lightest and the most frugal
  3. Any number from one up to all eight
  4. None
Guess first, then reveal

If every design trades mass for power differently, all eight can be non-dominated. If one design beats the rest on both, the front is just that one. The front's size is a property of the data, which is why you must compute it rather than assume a winner.

Discover

With 'Mass vs power', mark the designs you think are on the front and check. Then lower the mass limit to 5 kg: which designs drop out, and does the front change? Finally slide the weight from 0 to 1 and list the designs the weighted sum picks along the way.

What the interactive shows (text version)

Eight hypothetical arm designs A to H are plotted by two objectives. On mass versus power the non-dominated designs are those for which no other design is both lighter and lower-power. Lowering the mass limit greys out heavier designs and can change the front. A weight slider shows the weighted-sum choice moving between front designs as the weight changes, never onto a dominated design.

You can also open the interactive on the full site when you have a faster connection.

Watch (optional)

Watch for: Notice that the tool returns a whole set of designs, not one answer: choosing among them is left to the engineer.

Shows a real optimisation tool tracing a Pareto front for two competing objectives.

“Pareto Sets for Multiobjective Optimization” by MATLAB (opens YouTube; streaming video uses a lot of data)

The video is optional. Everything you need is in this lesson's text.

Understand

The three parts of a formulation

Decision variables: what you are free to choose (arm length, motor size, gain). Objective: one number to minimise or maximise (mass, energy, cost, error). Constraints: limits that every acceptable design must satisfy, written as inequalities or equalities (torque ≥ 2 N·m, mass ≤ 5 kg). Together: minimise f(x) subject to gᵢ(x) ≤ 0. The set of x that satisfies all constraints is the feasible region.

Hard constraints screen; objectives rank

A requirement that must be met (fits the launch envelope, survives −80 °C) is a constraint: designs that break it are out, however good they look otherwise. Things you would like more or less of are objectives. Screening first keeps a brilliant-but-illegal design from distorting your comparison.

Dominance and the Pareto front

Design A dominates B if A is no worse on every objective and strictly better on at least one. The non-dominated designs form the Pareto front: along it, improving one objective must cost another. Everything behind the front is simply worse and can be discarded without any value judgement.

Collapsing to one number

A weighted sum w·f₁ + (1 − w)·f₂ (on normalised objectives) always selects a front design, but which one depends on w, and the weights are a value judgement that should be stated and defended. Weighted sums can also miss designs in a concave part of the front; showing the whole front to decision-makers is often more honest.

Explain it another way

Intuitive

Buying a bike: light, cheap, strong. A bike that is heavier, dearer and weaker than another is out. The rest is a genuine choice about what you value.

Technical

Multi-objective problem: minimise (f₁(x), …, f_k(x)) subject to x ∈ X. x* is Pareto-optimal if no feasible x has fᵢ(x) ≤ fᵢ(x*) for all i with strict inequality for some i. Scalarisation by weights or by ε-constraints (minimise f₁ subject to f₂ ≤ ε) traces the front.

Applied

Spacecraft trade studies routinely plot candidate designs on mass-versus-power or cost-versus-risk charts; the front is shown to a review board, which then chooses with mission priorities in mind.

Worked example 1

Designs (mass kg, power W): P (3, 60), Q (4, 40), R (5, 45), S (6, 30). Which are on the front?

R is dominated by Q (lighter and lower power). P, Q and S each trade mass for power: none is beaten on both. Front = {P, Q, S}.

Common mix-ups

Practice

Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.

Practice 1. 'The arm must lift a 2 kg sample' and 'the arm should be as light as possible'. Which is a constraint and which an objective?

designs

Practice 3. Design X costs £900 and weighs 4.2 kg. Design Y costs £1,100 and weighs 4.8 kg. Lower is better for both. What can you say?
Practice 4. A report picks design E 'by weighted sum' without stating the weights. What's the problem?

Apply it

Write a one-page formulation for optimising the greenhouse heater: decision variables, objective, at least three constraints (comfort, switching, energy) with numbers, and which objective you'd trade against energy on a Pareto chart.

Reflect

Think of a decision you made recently with two competing goals. What was your front, and what weights did you implicitly use?

Write your answer on paper or in your own notes. Lite never stores what you write.

← Monte Carlo: propagate by simulationLinear programming: why the corners win →