Skip to content
Tactiverge

School/□ Systems Engineer/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

1.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.

  • ◇ Formulate an optimisation problem with decision variables, an objective and constraints.
  • ◇ Screen designs against hard constraints, then identify the Pareto front of what remains.
  • ◇ Explain how a weighted sum picks one front design and why the weights need justifying.

2.Predict

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

Guess first. Being wrong here is how the surprise works.

3.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.

Loading the interactive…

Can't use the interactive? Read a description instead

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.

4.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

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?

5.Watch

→ 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.

Length: see YouTube · captions on YouTube · source

Nothing loads from YouTube until you press play.

The video is optional: everything you need is also in the lesson text and the interactive.

6.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

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.

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

  • Every optimisation problem has one best answer.
    ✓ With several objectives there is usually a front of equally defensible answers; choosing among them is a value judgement.
  • Constraints and objectives are interchangeable.
    ✓ Constraints are pass/fail limits; objectives are ranked. Moving one into the other changes the problem.

7.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 2 · a fresh version every time

Six rover-arm designs, where LOWER cost and LOWER mass are both better: A (£30, 5.5 kg); B (£40, 1.5 kg); C (£100, 6 kg); D (£20, 6 kg); E (£20, 2.5 kg); F (£30, 5.5 kg). How many designs are non-dominated (on the Pareto front)?

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?

8.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.

Open BUILD 007: Design a Smart Greenhouse →

9.Reflect

Concepts: Constrained optimisation and linear programming · Pareto fronts and multi-objective trade-offs · Constraints, budgets and trade-offs