Last week, I saw a map going around Facebook claiming to be a car route across the United States that hit all of the country's major landmarks. I thought, Hey, neat. But when I looked more closely, I saw quite a few states obviously missing, and I when I did a quick search on Snopes.com, I found that in fact the map was of a route taken in 2001 by photographer Brian DeFrees, who wasn't driving to every major landmark in every state.

But wouldn't it be nice to have a map that hit landmarks in every state and not only that, wouldn't it be great if the map represented the optimal, most efficient route across the country?

Who could pull off such a map? The first person I thought of was Michigan State University doctoral student Randy Olson.

Earlier in the month, I blogged about the algorithm he devised that helps Where's Waldo fans plot the fastest search path through a two-page illustration to locate the iconic young man. So, I fired off an email to Randy and asked him if he could use his algorithmic talents to plot the optimum road trip route across the United States. He answered yes almost immediately, but requested that I put together a list of the stops first. Sure thing!

After some rounds of emails, the trip wound up having three simple parameters:

• It would make at least one stop in all 48 states in the contiguous U.S. That means no state is left out!
• Each stop would be at a National Natural Landmark, National Historic Site, National Park, or National Monument
• It would be a true road trip, taken by car -- or some other vehicle -- and not leave U.S. soil.

I also included Washington, D.C. and added two stops in California to get us to an even 50 stops.

Next, Randy did the hard stuff. He details the challenges of optimizing such a route in this blog. To get around some of those challenges, he used information freely available from Google Maps API and wrote a bit of code to calculate the distance and time it would take to drive between all 50 landmarks, which represents 2,500 individual routes.

It would take a computer millions of years to account for every twist and turn along a continental drive and give us the absolute best route — one that backtracked as little as possible. But hey, we just don't have that kind of time. So Randy pulled the genetic algorithm card again, which he used for the Where's Waldo solution.

He writes: "Instead of exhaustively looking at every possible solution, genetic algorithms start with a handful of random solutions and continually tinker with these solutions — always trying something slightly different from the current solution and keeping the best one — until they can't find a better solution any more."

The algorithm evaluates whether a solution is good or not based on something called a fitness function. "For the road trip itinerary, the fitness function was the shortest distances between waypoints," Olson told me.

The result is not the absolute best route between all of the landmarks, but rather a route that's pretty darn good.

Here's the map.

Randal Olson

And here are the stops, which I think represent nice a mix of history and natural wonder. If you had the road to yourself, it would take 9.33 days of driving, Olson calculates, but in reality you'd need at least 2 to 3 months to make the journey.

• Grand Canyon, AZ
• Bryce Canyon National Park, UT
• Craters of the Moon, ID
• Yellowstone National Park, WY
• Pikes Peak, CO
• Carlsbad Caverns National Park, NM
• The Alamo, TX
• The Platt Historic District, OK
• Toltec Mounds, AR
• Elvis Presley's Graceland, TN
• Vicksburg National Military Park, MS
• French Quarter, New Orleans, LA
• USS Alabama, AL
• Cape Canaveral Air Force Station, FL
• Okefenokee Swamp Park, GA
• Fort Sumter National Monument, SC
• Lost World Caverns, WV
• Wright Brothers National Memorial Visitor Center, NC
• Mount Vernon, VA
• White House, Washington, DC
• Colonial Annapolis Historic District, MD
• New Castle Historic District, Delaware
• Cape May Historic District, NJ
• Liberty Bell, PA
• Statue of Liberty, NY
• The Mark Twain House & Museum, CT
• The Breakers, RI
• USS Constitution, MA
• Mount Washington Hotel, NH
• Shelburne Farms, VT
• Fox Theater, Detroit, MI
• Spring Grove Cemetery, OH
• Mammoth Cave National Park, KY
• West Baden Springs Hotel, IN
• Abraham Lincoln's Home, IL
• Gateway Arch, MO
• C. W. Parker Carousel Museum, KS
• Terrace Hill Governor's Mansion, IA
• Taliesin, WI
• Fort Snelling, MN
• Ashfall Fossil Bed, NE
• Mount Rushmore, SD
• Fort Union Trading Post, ND
• Glacier National Park, MT
• Hanford Site, WA
• Columbia River Highway, OR
• San Francisco Cable Cars, CA
• San Andreas Fault, CA
• Hoover Dam, NV

In the same blog, Randy added a bonus map that with a route that stops at popular U.S. cities. And here is a map he just did for Europe!

What's great is that you start in any state and as long as you follow the path, you'll be driving the best route. On top of that, many of the destinations are near other great tourist sites, which means you'd better put in for that vacation now.

I asked Randy if he would ever do a road trip like this and he told me that because he's starting out in academia, he might find himself between jobs every two or three years and it's then that he could plan a trip. "At the very least," he said. "I'm going to do it when I get older and retire, buy an R.V. and drive across the U.S."