Data Structure and Algorithms C++ - repost

Cancelled Posted May 30, 2013 Paid on delivery
Cancelled Paid on delivery

Introduction

The Travelling Salesman Problem (TSP) is one of the most studied problems in computer

science.

C++ Programing

The aim of the problem is to find the shortest route which visits all members of a collection

of locations returning to the starting point.

Task

Your program will do the following:

1. Randomly select a number of points on a Cartesian plane with x and y co-ordinates

between 0 and 100 inclusive to be the cities for the TSP tour.

2. From the points, create a fully connected graph where the points are the vertices of the

graph. A fully connected graph has an edge from each vertex to every other vertex.

The edges will be undirected. Each edge weight will be the Euclidean distance (d)

between the two vertices for the edge:

√( ) ( )

3. Optional: The result for an optimal tour could be calculated.

a. A recursive brute force solution has a limit of 10 to 12 vertices. Implementing

this solution if you cannot get the approximation solution working will earn

some marks.

b. A dynamic programming solution has a limit of around 20 to 23 vertices.

Implementing this algorithm for comparison with the approximate solution will

enable you to earn the top marks for this assignment.

Algorithms for these two optimal approaches are presented below.

4. Calculate an approximation of the distance for the TSP tour of the randomly

generated cities using the Minimum Spanning Tree/Depth First Search algorithm

presented below.

5. Output the results of the optimal and/or approximation of the tour.

6. The program must also be able to read test files from the command line (as for

Attached is the criteria in which this project is be completed against, please peruse this before you make your bid. I will allow 1 hour of bids minimum before awarding project.

I will need to receive your first complete draft minimum 24 hours before the final delivery date. I will then provide feedback and suggestions to the first draft and send back to you for you to make appropriate amendments and resubmit to me no later than the final delivery date.

.

I will send you the original criteria sheet after I have awarded the project! Thanks

Algorithm C++ Programming

Project ID: #4571876

About the project

10 proposals Remote project Active May 31, 2013

10 freelancers are bidding on average $155 for this job

dobreiiita

Hi, I can deliver perfect codes. Thanks

$149 AUD in 3 days
(119 Reviews)
6.0
renardpaul

Hello, I can implement this perfectly in C++ for you. Thanks, Paul

$250 AUD in 7 days
(8 Reviews)
4.8
programer218

I can work for you!

$210 AUD in 3 days
(1 Review)
4.4
jasqwerty

Hey Ame, I'm a former University Comp Sci TA, so I can get your project done quickly and accurately, and most importantly, since I've graded similar projects; I can do it in a style expected of a student project, guara More

$131 AUD in 5 days
(6 Reviews)
3.5
ouyongbin

I am an expert in designing and implementing algorithms.

$250 AUD in 5 days
(1 Review)
3.6
romanuwa

I have solved this problem earlier please check PMB.

$150 AUD in 5 days
(3 Reviews)
2.7
sarconi

I'm a computing science graduate with 5+ years experience in software development. I've studied advance algorithmics and would be keen to help you with this project

$80 AUD in 3 days
(0 Reviews)
0.0
OlegOvcharenko

I can help you with this assignment. To solve 1 we'll make a City type, then randomly generate n cities and fill them into the City array. To solve 2 we'll represent graph as a 2d-array of distances between cities. More

$120 AUD in 5 days
(0 Reviews)
0.0
smartworker81

Hi, i'm ready, check PM please.

$150 AUD in 4 days
(0 Reviews)
0.0
MorningStar118

I am very interested in your project. I can deliever high quality codes. Thanks.

$155 AUD in 3 days
(0 Reviews)
0.0
patilarpith

I can get it done quick and easy.

$133 AUD in 3 days
(0 Reviews)
0.0
sandervandijk

I have extensive experience with algorithms and search methods, having a MSc in AI, and having TAd on these subjects. I will be able to do this quickly, implementing all 3 methods.

$111 AUD in 3 days
(0 Reviews)
0.0