Preview

Homework1

Satisfactory Essays
Open Document
Open Document
693 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Homework1
Homework Assignment 1

Due date: 21 Feb. 2010

A farmer wishes to transport a truckload of eggs from city 1 to city 2 through a road network as above. The truck will incur a certain amount of breakage on each road segment, where the % value shown on the network is the percentage of eggs broken if the truck passes the road arc. How should the truck be routed to minimize the total breakage?
(1) Formulate the problem as a shortest path problem (showing the resulted shortest path problem such as drawing the network and specifying arc costs).
(2) Solve the problem by Dijkstra’s algorithm.

************************************************************************
Optional Questions (no submission required)

Suppose that a shortest path from node 1 to node 2 has been found. Let the cost be C.

(1) If, for all arcs in the network, the cost is increased by k times, k>0, will the shortest path change?
(2) If, for all arcs in the network, the cost is increased by a constant k, k>0, will the shortest path change?
(3) If, for all arcs starting from node 1, the cost is increased by a constant k, k>0, will the shortest path change?
(4) If, for one arc on the shortest path, the cost is increased by a constant k, k>0, will the new shortest path cost be C+k?
(5) If, for one arc on the shortest path, the cost is decreased by a constant k, k>0, will the new shortest path cost be C-k?

Ans(1):

First convert the % lost into efficiency as below:

Then define the cost of each arc as –log(efficiency) as below:

Possible path 1: 1 -> 3 -> 2
{[-log(99%)]+[-log(95%)]} = 0.0044+0.0223 = 0.0267
Efficiency = (1-1%)*(1-5%) = 99%*95% = 94.05%

Possible path 2: 1 -> 3 -> 4 -> 2
{[-log(99%)]+[-log(97%)]+[-log(98%)]} = 0.0044+0.0132+0.0088 = 0.0264
Efficiency = (1-1%)*(1-3%)*(1-2%) = 99%*97%*98% = 94.11%

Possible path 3: 1 -> 3 -> 4 -> 6 -> 7-> 2
{[-log(99%)]+[-log(97%)]+[-log(98%)]+[-log(99%)]+[-log(99%)]} =
0.0044+0.0132+0.0088+0.0044+0.0044 = 0.0352
Efficiency =

You May Also Find These Documents Helpful

  • Satisfactory Essays

    It would take 1 (hop) message to send a message from node A to node B. It would take 3 (hop) messages to send a message from node B to node A. One additional link is required to add a new node E between node C and node D. With the new node added, the number of messages to Travers from node B to node A would increase by one.…

    • 503 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Nt1330 Unit 3

    • 472 Words
    • 2 Pages

    For the optimal level of the activity in part c, the total benefit is $_________, the total cost is $_________, and the net benefit is…

    • 472 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Mat540 Midterm

    • 1212 Words
    • 5 Pages

    Answer Selected Answer: Correct Answer: Question 2 5 out of 5 points Variable costs are independent of volume and remain constant. True True…

    • 1212 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    NT1330 final exam

    • 1081 Words
    • 3 Pages

    2. The routing service included with Windows Server 2008 is better suited for ___________. Smaller network…

    • 1081 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Comp Adv Practice Sheet

    • 394 Words
    • 2 Pages

    Directions: For each constant cost problem below, answer the following questions after creating a cost ratio table:…

    • 394 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Red Zuma Project

    • 402 Words
    • 2 Pages

    3. The sensitivity of a network continually changing refers to the network diagram after resources leveling.…

    • 402 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Brs Mdm3 Tif Ch04

    • 4332 Words
    • 20 Pages

    C) if the right-hand side value of the constraint increases by 1 unit, the objective function value will remain unchanged…

    • 4332 Words
    • 20 Pages
    Good Essays
  • Good Essays

    ch 2a homework

    • 967 Words
    • 3 Pages

    2. Depict graphically the effects of the following changes of the bat firm’s cost curves.…

    • 967 Words
    • 3 Pages
    Good Essays
  • Good Essays

    b. Do the results indicate that the average variable cost curve is U-Shaped? How do you know?…

    • 462 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Problem 3-30

    • 474 Words
    • 2 Pages

    1. Prepare a scattergraph by plotting power costs against machine hours. Does the scattergraph show a linear relationship between machine hours and power cost?…

    • 474 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    3. George Kyparisis (using data from Problem 2) determines his costs to be as follows:…

    • 342 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    6. (7 pts) Consider the topology shown below. Suppose that each link has unit cost. Suppose node X is chosen as the center in a center-based multicast routing algorithm. Assuming that each attached router uses its least-cost path to node X to send join messages to X, draw the resulting center-based routing tree. Is the resulting tree a minimum-cost tree? Justify your…

    • 319 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Prim's Algorithm

    • 625 Words
    • 3 Pages

    2. Starting from the source vertex, traverse the adjacent vertexes and the adjacent vertex having the shortest path traversal should be considered and enter that vertex in the set S.…

    • 625 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Accounting

    • 13008 Words
    • 88 Pages

    the cost function, then total costs will increase at a smaller rate than the increase in total…

    • 13008 Words
    • 88 Pages
    Satisfactory Essays
  • Powerful Essays

    Transport Management

    • 2833 Words
    • 18 Pages

    Describe the two (2) types of external cost of transportation and provide solutions to solve these two (2) costs.…

    • 2833 Words
    • 18 Pages
    Powerful Essays