My Story, My Life

5hoon's Blog is powered by Tattertools

Traveling Salesman Probelm

**Programming 2008/12/24 14:51 by 5hoon
Traveling Salesman Problem, 외판원 문제.
이번학기에 X줄 타면서 한과제...
대략 3박 4일 걸렸다.. 순수 코딩시간만 해도 머리가 잘 안돌아서 40시간쯤은 했....
여튼...

위키피디아에서 말하기를..
Q: given a number of cities and the costs of traveling from any city to any other city, what is the least-cost round-trip route that visits each city exactly once and then returns to the starting city?

즉, 주어진 도시와 도시들 사이의 거리를 알때, 모든 도시를 한번씩 방문하여 제자리로 돌아 오는 최단 거리의 경로는 어떻게 될까?

두가지 방법으로 문제를 접근해 보았다.
1. Branch and Bound

Branch and Bound


2. Christofides Algorithm

more..


완성작.

more..


여튼.. 이수업.. 학점하난 잘받았다..-_-a
2008/12/24 14:51 2008/12/24 14:51

TRACKBACK :: http://blog.5hoon.com/trackback/107

  1. Subject: pope furniture

    Tracked from pope furniture  삭제

    I think the author or something keep back

    2011/12/11 21:01
1  ... 6 7 8 9 10 11 12 13 14  ... 107 
BLOG main image
My Story, My Life
내가 사는 이야기
by 5hoon

공지사항

카테고리

전체 (107)
**My Life (39)
**Mathematics (14)
**Multimedia (42)
**Programming (4)
**Web Programming (8)

달력

«   2012/02   »
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29      
textcubeDesignMyselfget rss