Solving traveling salesman problems using Solver Foundation

Thanks for visiting! I'm in the process of moving my blog, and I am starting with my most popular posts. An updated version of this post can be found here.

Comments (6)
  1. Here is my as-promised "part 2" to my traveling salesman sample . My goal is not to try and do any "production

  2. Pat Kujawa says:

    In Firefox 3.5 on Windows 7, your blog (, at least), cuts off (trims it on the right side) the text after the second code set.

  3. Nate Brixius says:

    Hi Pat, sorry about that. I notice that it does the same with IE8 in Windows 7.  My CSS skills are quite poor 😉  I will mess with the stylesheet to try and get the code to show up correctly in the browser.

  4. James Gregory says:

    I am just starting out with Solver, and I was trying to get this example to compile, but the line "model.AssignmentNoDiag(city, assign);" gives an error in Visual Studio saying the method is undefined. What is that method supposed to do? Is it something that has since changed in the API?

  5. Nate Brixius says:

    Hi James, this is actually an extension method that I wrote.  I forgot to include the definition for this method in my blog posting.  I see that in a later post I do define it. You can copy it from here:


Comments are closed.

Skip to main content