Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Mathimatics-Numerical algorithms Compress-Decompress algrithms
  • Category : Compress-Decompress algrithms
  • Tags :
  • Update : 2012-11-26
  • Size : 84kb
  • Downloaded :0次
  • Author :孙***
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
/* * Simulated annealing and the Symetric * Euclidian Traveling Salesman Problem. * * Solution based on local search heuristics for * non-crossing paths and nearest neighbors * * Storage Requirements: n^2+4n ints * * Problem: given the coordinates of n cities in the plane, find a * permutation pi_1, pi_2, ..., pi_n of 1, 2, ..., n that minimizes * sum for 1<=i<n D(pi_i,pi_i+1), where D(i,j) is the euclidian * distance between cities i and j * * Note: with n cities, there is (n-1)!/2 possible tours. * factorial(10)=3628800 factorial(50)=3E+64 factorial(150)=5.7E+262 * If we could check one tour per clock cycle on a 100 MHZ computer, we * would still need to wait approximately 10^236 times the age of the * universe to explore all tours for 150 cities. * * gcc-O4-o tsp tsp.c-lm tsp | ghostview- * * Usage: tsp [-v] [n=dd] [s=dd] [filename] * -v : verbose * n= : nb of cities (cities generated randomly on E^2
Packet file list
(Preview for download)
tsp
...\data
...\....\france210.dat
...\....\france31.dat
...\....\hoto100.dat
...\....\hoto250.dat
...\....\hoto30.dat
...\....\hoto65.dat
...\Makefile
...\README
...\tsp
...\tsp.c
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is the largest source code store in internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.