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

  How much new financing will tcc need next year

How much new financing will TCC need next year? What limitations does the percent-of-sales forecast method suffer from? Discuss briefly.

  Find the certainty equivalent for prospect

Using expected utility, order the given prospects in terms of preference, from the most to the least preferred; find the certainty equivalent for prospect P2.

  Determine primary and secondary target markets for company

Determine the primary and secondary target markets for your company. Next, analyze the primary and secondary target markets that you identified for your company. Be sure to cover the 4Ps, 5Cs and STP.

  Identifying missing figures and preparation of balance

identifying missing figures and preparation of balance sheet.complete the balance sheet below based on the given

  Regulations have been issued since dodd frank was enacted

In 2010, the Dodd-Frank Act authorized the Federal Reserve, - What major regulations have been issued since Dodd-Frank was enacted?

  What are the incremental net cash flows

The Darlington Equipment Company purchased a machine 5 years ago at a cost of $90,000. What are the incremental net cash flows

  Determine the amount of additional financing required

Jones Corporation sales last year were $25 million and its total assets were 8 milliondollar. Accounts payable were $2 million & common stock & retained earnings were 5 million dollar.

  Calculate your total percentage return

Calculate your total dollar return and calculate your total percentage return - Estimate the expected return on stocks and explain how and why you arrived at your answer.

  What amazon should do to protect its brand

Discuss whether or not Amazon has lost its identity by expanding into markets well beyond books. Recommend what Amazon should do to protect its brand.

  Pro forma analysis of cash flow

Revenue stream and diversify their business GEI expanded into the higher margin business of consumer products - discuss a number of proposals that looked promising. In order to smooth their revenue stream and diversify their business GEI expanded in..

  C31FC Corporate Finance Assignment

C31FC Corporate Finance Assignment Help and Solution, Heriot Watt University - Assessment Writing Service - Write a report which describes the extent.

  What criterion is used to determine vie should consolidated

Why is the percentage of ownership criterion often not appropriate for judging whether a VIE should be consolidated? What criterion is used to determine whether a VIE should be consolidated?

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