Determine a suitable way to compute the travel distance

Assignment Help MATLAB Programming
Reference no: EM132389563

Question :

1. For any complete graph G=(N, E), consider c(S) to be the optimal TSP tour length for any subset of nodes S ⊂ N (where S≠ Ø). Suppose triangular inequality holds. Prove that for any subset of nodes S,

c(N)≥c(s)+(1/m) Σi∈N/Sqi(S)

where m |N/S|and qi(s) min j,ks{tji +tik - tjk} for ∀i∉ S .

2. In class we discussed the savings heuristic. Explain why the following constraints can or cannot be incorporated into the algorithm.

a) Distance constraint: each route must be at most L miles long;

b) Route size constraint: each route must visit at least m customers;

c) Mixed customer constraint: if some customers are labeled "odd" and the others labeled "even," customers with different labels cannot be visited on the same route.

3. The attached Excel file "data15points.xls" contains the x- and y-coordinates of 20 points in a 10-by-10 square. The distance between any two points can be measured by the Euclidean metric.

Use the MST-based heuristic (NOT the Christofide's algorithm) to solve the TSP problem for these 15 points. Please report the intermediate results and the TSP tour found. Hint: For this simple problem you may solve every step of the heuristic (e.g., finding the MST) manually.

4. The attached Excel file "data150cities.xls" contains the latitude and longitude information of the 150 largest U.S. cities. Complete the following tasks.

a. Determine a suitable way to compute the travel distance between any pair of cities. Explain your definition, and report the distances among Cities 1-10.

b. Implement a suitable solution algorithm (e.g., one of the insertion heuristics or an MST- based heuristic) to solve a TSP problem for these 150 cities. You may use any programming language of your choice (e.g., C++, C#, MATLAB, VBA). Please report the best TSP tour found, the computation time, and the computer platform used. Please also submit your algorithm source code by email.

Reference no: EM132389563

Questions Cloud

Sudden shift in the yield curve : Assume that there is a sudden shift in the yield curve such that the new yield curve is higher and more steeply sloped today than it was yesterday.
Prices of high-rated-fixed-rate bonds : An analyst recently suggested that there will be a major economic expansion that will favorably affect the prices of high-rated, fixed-rate bonds
Describe common strategies used to invest in bonds : How bonds are priced from the perspective of the issuer's, or investor's to maturity perspective? What might be the component of the yield of a shorter term
Commercial bank and an investment bank : What's the difference between a commercial bank and an investment bank?
Determine a suitable way to compute the travel distance : Determine a suitable way to compute the travel distance between any pair of cities. Explain your definition, and report the distances among Cities 1-10.
Find a matrix representation : Math 247 - Find a matrix representation for T with respect to the basis and terms of the dot product and the arccosine function
Distinguish between physical asset markets : Distinguish between physical asset markets and financial asset markets. What's the difference between spot markets and futures markets?
What are three techniques stockholders : What are three techniques stockholders can use to motivate managers to maximize their stock's long-run price?
External funds in order to expand its business : Melco Pty Ltd. wants to raise external funds in order to expand its business. Melco has looked into bonds and shares but cannot

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

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