CH NEO-ZÜRICH EDITION
WEATHER · OVERCAST 0°C
BLEND OF THE DAY · 07/ROGUE
EST. 2027
THE AEC CYBER MORNING NEWS

PAZ Kaffi

DESIGN · DEMOLITION · CAFFEINE · DISPATCH
EDITION 1127 · 27 November 2026
BROADCAST 04:42 CET
2,400 BROADSHEETS PRINTED
READ TIME · 47 MIN
The 1781 Problem Under Every Building Pad: Drag a Slab, Watch Monge's Question Solve Itself
ACTION
FRAME · 06:55
27-11-2026

The 1781 Problem Under Every Building Pad: Drag a Slab, Watch Monge's Question Solve Itself

Drag a pad onto a hillside, balance cut against fill, and watch Monge's 1781 earthwork question solved exactly with Kantorovich's certificate. In Grasshopper.

Drag a 22 × 14 m pad onto the 14 % hillside in the sketch on this page, with ⚖ auto-balance switched on. The pad settles at z 432.85: 115 m³ of cut, 115 m³ of fill, and nothing leaves the site gate. That is the toy. One slab, one slider, one rule: every cubic metre you dig has to go into a hole you made.

Now look at the arrows. Each is a haul route from a cut block to a fill block, together 1,259 m³·m of work at a mean distance of 11.0 m. Toggle to nearest-first, the greedy habit of filling the closest hole from the closest heap, and the haul rises 3.3 % while the routes tangle: 1,153 crossings against zero.

The teacher at Mézières

On 28 March 1781, Gaspard Monge, 34 and teaching mathematics at the École du génie de Mézières, read his Mémoire sur la théorie des déblais et des remblais to the Académie des sciences. It was a builder’s question. A heap of earth, a hole of equal volume but different shape: how do you move one into the other at least cost, where cost is volume times distance?

Monge “ne le résout pas”, as Julie Delon writes in the SMF/BnF brochure Un texte, un mathématicien (2021). He did something rarer. He posed the problem so cleanly that it was still open a century later, when the Académie set it again as a prize problem. A teacher of engineers wrote a question precise enough to outlive him.

The green tick is a 1942 theorem

Leonid Kantorovich reformulated it while working on how to allocate economic resources. In “On the translocation of masses” (Dokl. Akad. Nauk SSSR 37, 1942; pp. 227–229 in the 2006 translation) he proved the line behind this sketch: “A translocation Ψ is minimal if and only if it is potential.” The BnF credits him with inventing linear programming along the way; he received the Nobel Prize in economics in 1975.

The solver computes his potential U(x) for every block and checks that U(y) − U(x) ≤ distance on every pair, with equality on every route it uses. When dual equals primal, the stat box shows ✓ optimal. The tick is not a score. It is a certificate that no cheaper plan exists.

The idea kept travelling. The IMU calls Cédric Villani, Fields Medal 2010, “one of the pioneers” in applying optimal transport to geometric and functional inequalities, and Delon’s own field, digital imaging, uses it for colour-palette transfer and 3D shape morphing. The heap and the hole now move pixels.

←TODAY: Kanton Schwyz counts 60–80 million tonnes of Swiss excavation and tunnelling spoil a year. →3012: Every Zurich plot ships with a balance level, and a ground floor set away from it has to justify the trucks. Fulcrum: A 1781 classroom question and a 2026 waste stream turn out to be the same equation.

The rules

  • The pad is flat at z; its edges slope back to the terrain at 1:1, 1:1.5, 1:2 or 1:3.
  • Volumes come from 2,400 one-metre prism cells using corner averages.
  • Balance means cut × (1 − shrink) = fill, found by 50 steps of bisection.
  • Haul is solved exactly over 2 m blocks and checked against Kantorovich’s dual.

Now break it. Sculpt a ridge under the pad with ▲ raise, set shrink to 20 % and watch the balance z drop. Then the challenge: a pad of at least 240 m², zero export, lowest mean haul. The limits are part of the lesson. Where the batter daylights into the ground, the prism method was off by 2.7 % in one flat test case; haul is a straight line, not a site road; there are no soil classes. A teaching model trades geotechnical truth for a rule you can see, so keep its numbers out of any tender.

Now build with it. The PIARC Road Dictionary defines the mass haul diagram, the Massenausgleichsplan, as the tool that establishes “the balance of cut and fill and the need for borrowed material or the disposal of surplus excavation”. Buildings rarely get one at concept stage. Yet the Umweltbericht beider Basel reports that construction produces 84 % of all Swiss waste, with about 3.5 times more excavation than mineral construction waste, and Canton Zürich reports that landfill space is limited.

Atelier: In a feasibility-stage studio working in Rhino, the ground-floor level is set by access, views and the Baugesuch envelope; spoil shows up later as a contractor’s line item. Your Monday move: on the next sloped plot, export the sketch’s grid CSV into Grasshopper, compute the balance z for the footprint, and pin it next to the architectural level so the team sees the gap in cubic metres.

Hack: Find the level where your dug earth exactly fills your holes, shrinkage counted. In a GhPython component, feed ground with the terrain z of every 1 m² cell under the footprint, set s to the shrink factor, and read the balance level from a. Net volume falls as the pad rises, so bisection closes in 50 halvings.

# ground: cell z values (1 m² each); s: shrink factor, e.g. 0.1
net = lambda z: sum(max(g - z, 0) for g in ground) * (1 - s) - sum(max(z - g, 0) for g in ground)
lo, hi = min(ground), max(ground)
for _ in range(50): m = (lo + hi) / 2; lo, hi = (m, hi) if net(m) > 0 else (lo, m)
a = (lo + hi) / 2  # balance z, ignoring batters

From where I sit, decades on, the offices that kept their excavation on site were the ones that put the greedy plan on screen next to the exact one. Open the code with ▶ view / remix, change one rule, and see what it costs.

Set your next ground floor at the balance z first, and make every metre away from it argue for its trucks.

Sources & Further Reading

FILED FROM
CO-SIGNERS
PAZ Academy
CONFIDENCE
HIGH
REPRINTS
© PAZ - PARAMETRIC ACADEMY ZURICH · ALL RIGHTS RESERVED

PAZ Kaffi · multidisciplinary editorial, led by PAZ Academy

⚑ REPORT AN ERROR · SUBMIT A CORRECTION
◂ BACK TO FRONT PAGE · PAZ KAFFI

© 2026 PAZ Academy.