Wolfram Language

Open live version

Plan a City Tour

Find the shortest route through the largest cities in France.


code

X

how it works

This example was live-coded at the Wolfram Research booth at SXSW, March 9, 2014.

Use data built in to the Wolfram Language to calculate the positions of the largest cities in France:

In[1]:=
X
Out[1]=

Find the shortest tour through those positions:

In[2]:=
X
Out[2]=

Draw the tour on a map of France:

In[3]:=
X
Out[3]=