Implement your approximation algorithm

Assignment Help Corporate Finance
Reference no: EM133395717

Question: In computer science theory, you learned about NP-complete problems. One of the best-known such problems is the Travel Salesperson Problem. The problem is defined as follows: Given: Let n be a natural number. A set of cities c1, c2, ..., cn. A complete set of distances between each pair of cities. The distances are positive integers. A bound B which is a positive integer. Problem. Is there a traveling salesperson's tour of the cities whose distance is less than B? Recall the tour starts at one city, visits every other city exactly once, and returns to the starting point. The total distance is simply the sum of the distances between each pair of cities. The fact that this problem is NP-complete indicates it isn't likely to have any efficient algorithms for it.

So, you are to construct a traveling-salesperson-tour approximation algorithm. Use your knowledge of computer-science theory to devise your approximation algorithm. Implement your approximation algorithm in either C, Rust, Clojure, or Prolog. It takes the same input as the Traveling Salesperson Problem. It outputs ‘YES' if your approximation algorithms finds a solution whose distance is less than B, and otherwise outputs ‘NO'. On ill-formed inputs, output ‘NO'. Describe how your approximation works.

Reference no: EM133395717

Questions Cloud

Find 2 quantitative articles on augmented reality and build : Find 2 quantitative articles on Augmented reality and build a research question. From them chose the most important statements, what method used to chose
Why do you think he was referred to as neutron jack : In wave one, what do you think the impact was on individual employees during the restructuring? Why do you think he was referred to as Neutron Jack?
Explain how managers could motivate employees by using : Explain how the "motivation" factors of needs in Maslow's theory....can "apply" differently to workers in different "types" of jobs or professions.
What is sustainable aviation fuel : What is Sustainable Aviation Fuel (SAF)? Is it realistic? What are carbon capture, utilization, and storage (CCUS)? What is its future
Implement your approximation algorithm : computer science theory, you learned about NP-complete problems. One of the best-known such problems is the Travel Salesperson Problem
What is the impact of media preferences and placement : Discuss the market share at the end of how can we vs us against competitors - where can we gain, and where can we loose? What role did pricing play in this?
Prepare a one page swot summary memo update : Prepare (i.e. write) a one page SWOT summary memo update (i.e. not a SWOT matrix) re-evaluating your ability as a communicator today after achieving
Research some of the ai services available in the market : Research some of the AI services available in the market today. Make a list of five of those find most interesting and describe what they do and why these seem
What do strategy analysis and choice seek to determine : What do strategy analysis and choice seek to determine? alternative courses of action

Reviews

Write a Review

Corporate Finance Questions & Answers

  Impact of the global economic crisis on business environment

This paper reviews the article of ‘the impact of the global economic crisis on the business environment' that is written by Roman & Sargu (2011).

  Explain the short and the long-run effects on real output

Explain the short and the long-run effects on real output, price, and unemployment

  Examine the requirements for measuring assets

Examine the needs for measuring assets at fair value in accounting standards

  Financial analysis report driven by rigorous ratio analysis

Financial analysis report driven by rigorous ratio analysis

  Calculate the value of the merged company

Calculate the value of the merged company, the gains (losses) to each group of shareholders, NPV of the deal under different payment methods. Synergy remains the same regardless of payment method.

  Stock market project

Select five companies for the purpose of tracking the stock market, preparing research on the companies, and preparing company reports.

  Write paper on financial analysis and business analysis

Write paper on financial analysis and business analysis

  Intermediate finance

Presence of the taxes increase or decrease the value of the firm

  Average price-earnings ratio

What is the value per share of the company's stock

  Determine the financial consequences

Show by calculation the net present value for the three alternatives (no education, network design certification, mba). Also, according to NPV suggest which alternative you advise your friend to choose

  Prepare a spread sheet model

Prepare a spread sheet model for the client that determines NPV/IRR with and without tax.

  Principles and tools for financial decision-making

Principles and tools for financial decision-making. Analyse the concept of corporate capital structure and compute cost of capital.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd