Your Perfect Assignment is Just a Click Away
We Write Custom Academic Papers

100% Original, Plagiarism Free, Customized to your instructions!

glass
pen
clip
papers
heaphones

Network Anlysis

Network Anlysis

Shortest paths with some (i, j) < 0 when some link lengths on a network are negative the two shortest-path algorithms of section 6.2 must be modified. algorithm 6.1 must be modified drastically, while only a minor modification is necessary in algorithm 6.2. in this problem we shall explore various aspects of the shortest-path problem with some (i, j) < 0.a.Let (f, e) = -2, instead of 5, in the graph of Figure 6.3. How would the shortest-path tree of Figure 6.5 change?b.Suppose that the following approach has been suggested for finding shortest paths on the graph of Figure 6.3 with (f, e) = -2: (i) Add 2 units to the length of all links of the graph so that all (i, j) 0; (ii) use Algorithm 6.1 to find any shortest paths required and then subtract 2 units from every link on each shortest path to find the true length of each shortest path. What is wrong with such an approach?c.Suppose now that (f, e) = -8 in Figure 6.3. What would now be the minimum distance between nodes a and j, d(a, j) ? Hint: Be careful! d.The phenomenon that you have observed in part (c) is referred to as a "negative cycle." Whenever a negative cycle exists between two nodes of a graph, the shortest-path problem for this pair of nodes is meaningless. Note that this means that no undirected links on a graph should have negative (i,j)--since this immediately implies a negative cycle. Shortest-path algorithms must be able to "detect" the presence of negative cycles if they are to work with some (i, j) < o. the key to such detecting is the following statement: in a graph with n nodes, no meaningful shortest path (i.e., one that does not indude a negative cycle) can consist of more than n - 1 links. argue for the validity of this statement.e.Algorithm 6.2 can be used as stated for cases where some (i, j) < o with only a minor modification to check for the existence of negative cycles upon termination. how would you use the final matrix d(n) at the conclusion of Algorithm 6.2 to check whether there are any negative cycles in a graph? Hint: What should happen to one or more diagonal elements dn(i, i) of this matrix if there is a negative cycle in the graph ? f.Repeat Example 2 of Section 6.2.2 for the case in which the length of the directed arc from node 5 to node 2 in Figure 6.6 is equal to -3.g.Can you suggest how shortest-path Algorithm 6.1 should be changed in order to be applicable to cases with some (i, j) < 0? Hints: No labels can become permanent (i.e., nodes cannot become closed) until all labels are permanent; the algorithm requires at most N - 1 passes but may terminate earlier if no labels change during a pass. For a more extensive discussion of algorithms of this type, see, for instance, Chapter 8, Section 2.2, of Christofides [CHRI 75].  https://web.mit.edu/urban_or_book/www/book/chapter6/problems6/6.1.html

Order Solution Now

Our Service Charter

1. Professional & Expert Writers: Homework Free only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Homework Free are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Homework Free is known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Homework Free, we have put in place a team of experts who answer to all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.

Homework Free Org

Your one stop solution for all your online studies solutions. Hire some of the world's highly rated writers to handle your writing assignments. And guess what, you don't have to break the bank.

© 2020 Homework Free Org