Play with the Machine » programming http://www.machinelake.com Sat, 03 Sep 2011 16:08:33 +0000 en hourly 1 On Spacefilling Curves & the Traveling Salesman Problem http://www.machinelake.com/2011/02/20/on-spacefilling-curves-the-traveling-salesman-problem/ http://www.machinelake.com/2011/02/20/on-spacefilling-curves-the-traveling-salesman-problem/#comments Sun, 20 Feb 2011 16:00:34 +0000 gavin http://www.machinelake.com/?p=87596810 Using A Sierpinski Curve to Solve Traveling Salesman Problem

“Paul Goldsman used the spacefilling curve heuristic to solve the same instance [15,112 cities in Germany]. Our solution was about 34% longer. At a leisurely 600 km of travel per day this means the time to drive our solution would be about 147 days versus 110 days for the solution of Bixby, Chvatal, and Cook. But our computation took less than a second on a cheap laptop, so here is the tradeoff: Use our heuristic and you get a reasonable route immediately. Alternatively, configure a network of 110 processors, then spend two months computing the shortest route to save a month of driving.”

Fascinating & accessible write-up on the use of spacefilling curves to solve the traditional traveling salesman problem. The researchers have already applied their technique to practical good use: routing blood for the Red Cross, delivery routes for Meals-on-Wheels and to target a space-based laser. (Ironic; life & death.)

]]>
http://www.machinelake.com/2011/02/20/on-spacefilling-curves-the-traveling-salesman-problem/feed/ 0
Roundtable discussion on APL, beards, proto-nerds & awesome 70s fashion http://www.machinelake.com/2011/01/10/roundtable-discussion-on-apl-beards-proto-nerds-awesome-70s-fashion/ http://www.machinelake.com/2011/01/10/roundtable-discussion-on-apl-beards-proto-nerds-awesome-70s-fashion/#comments Tue, 11 Jan 2011 05:49:44 +0000 gavin http://www.machinelake.com/?p=87596729
Catherine | Myspace Video

If you’re at all interested in the history of programming languages, give this video a watch. You’ve got the father of APL, Ken Iverson himself, being interviewed along with a panel of experts.

If APL isn’t your cup of tea, then you can also watch for the crazy 70s flute music, the hardware, the fashion, the crazy hair & beards and the set design. This video is such a wonderful collection of stuff.

There’s more backstory at Catherine’s Myspace page. (And so you know, she’s working on a whole documentary on the history of APL and array programming.)

]]>
http://www.machinelake.com/2011/01/10/roundtable-discussion-on-apl-beards-proto-nerds-awesome-70s-fashion/feed/ 0