Approximation algorithm case study

Approximation algorithm case study

Approximation algorithm (15%)
Implement a simple heuristic for solving the TSP approximately. Include your program code in your submission.
Your program should:
1. Parse a .tsp file from TSPLib, preprocess it and store the graph in memory;
2. Generate a TSP solution using the simple heuristic;
3. Output the solution in the form of node sequence as well as its total weight.
Test the simple heuristic on at least 10 instances from the TSPLib, and discuss the results compared to the
best-known results provided on the website. You should include the necessary screenshots in your final
report in order for the marker to verify the correct functioning of your program. You should also
include a short description of your simple heuristic.
Hint: One simple heuristic to consider is to choose to start the TSP tour from the city with the lowest average
distance to all other cities and then always visit the next city with the shortest distance from the current city (make
sure that the next city has never been visited previously until the tour goes back to the start city).
2.3 Local search (20%)
Develop a simulated annealing algorithm for solving the TSP. Include your program code in your submission.
Clearly describe your algorithm (including solution representation, initialisation method, neighbourhood definition, cooling schedule, and stopping criteria) in the report.
Test your algorithm on a280.tsp, and draw a convergence curve, where the x-axis is the number of iterations,
and the y-axis is the total weight (or distance) of the current solution. Include and discuss the convergence
curve in the final report. Compare your simulated annealing algorithm to the best-known solution and the
approximation algorithm developed in Subsection 2.2 in terms of their performances. You should include
the necessary screenshots in your final report in order for the marker to verify the correct
functioning of your program.
2.4 Evolutionary computation (20%)
Develop a genetic algorithm for solving the TSP. Include your program code in your submission.
Clearly describe your algorithm (including solution representation, initialisation method, evolution process,
selection operator, crossover and mutation operators) in the report.
Clearly describe the algorithm parameters (including population size, crossover and mutation rates, and stopping criteria).
Test your algorithm on a280.tsp, and draw a convergence curve, where the x-axis is the number of generations,
and the y-axis is the best individual (solution) in the current population. Include and discuss the convergence
curve in the final report. Compare your genetic algorithm to the best-known solution and your simulated
annealing algorithm in terms of their performances. You should include the necessary screenshots in
your final report in order for the marker to verify the correct functioning of your program.

 

PLACE THIS ORDER OR A SIMILAR ORDER WITH ASSIGNMENT GURUH TODAY AND GET AN AMAZING DISCOUNT

.

When you order professional assignments here, you will get: Original custom papers. We value your academic reputation. Just as well, we value the years of thorough work on our reputation for reliability and never compromise the originality of delivered papers. We will never endanger both. Every custom assignment is written from zero – the only possible first stage of work on the order is research. We apply the latest plagiary checking tools on the final stage, so plagiarism has no chance to emerge in your college assignment writing. Control over the order completion. To make the process of collaboration comfortable and efficient, we offer our clients to choose the writer themselves taking into account all the requirements and the budget. For you to save nerves, having entrusted your fateful task to some qualified “stranger”, we enable communication with the assigned writer in the process of order completion. Affordable assistance.
Previous PostDesign and Analysis of AlgorithmsNext PostPolynomialtime randomized algorithm

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
Open chat
1
You can contact our live agent via WhatsApp! Via + 1 929 473-0077

Feel free to ask questions, clarifications, or discounts available when placing an order.

Order your essay today and save 20% with the discount code GURUH