Skip to main content

Posts

Featured

Algorithms; don't you love them?

About once a month, I walk with a small walking group.  Earlier this year, while enjoying the wonderful landscape of Dartmoor, one of my fellow walkers turned and asked, "David, what is an algorithm?" 

He knew that algorithms affected his daily life, and his experience of the internet, but nobody had ever explained what an algorithm really was.  My starting point was cookery recipes, as an example of a sequence of instructions to be followed one after the other, in order to transform an "input" into an "output".  Then we moved on to other kinds of instructions, including the apocryphal "hair shampoo infinite algorithm" ((1) Wet hair thoroughly; (2) Apply shampoo; (3) Rinse hair and repeat) which has no stopping rule. 

I gave him some other examples, which hopefully allowed him to recognise that when he searches online for some item, then the search engine takes his key word(s) and matches them to pages which fit.  Input: key word(s); output: a l…

Latest posts

How many loos?

Operational Research in Pompeii, 79CE

What's in a name?

Scheduling and Routing on holiday

Supply chains, weather and forecasting

Transport models for food banks

About universities, curiosity and self-confidence

Transport models for food banks

A few thoughts about O.R. and dishonesty

Shopping aisles