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

    Nt1330 Unit 3

    • 472 Words
    • 2 Pages

    Use the following graph showing the marginal benefit and marginal cost curves for activity A to answer the following questions.…

    • 472 Words
    • 2 Pages
    Satisfactory 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

    64. When carrying costs are stated as a percentage of unit price, the minimum points on the total cost curves: 
A. Line up
B. Equal zero
C. Do not line up
D. Cannot be calculated
E. Depend on the percentage assigned…

    • 6798 Words
    • 28 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

    The city water manager wants to determine a flow plan that will maximize the flow of water of the city. Formulate this problem as a max flow problem by identifying a source, a sink and transshipment nodes, and then drawing the complete network that shows the capacity of each arc. 2. The Quick Chip gravel company has received a contract to supply two new construction projects in the towns of Brock and Wurst. A total of 60 truckloads are needed at Brock in the next month and 90 at Wurst. Quick Chip has idle gravel pits in the towns of Nova, Scova, and Tova, each with a monthly production capacity of 50 truckloads. Travel distances from each pit to each project site are shown in the following table: Pit Nova Scova Tova To Brock 23 8 53 To Wurst 77 94 41…

    • 1959 Words
    • 8 Pages
    Good Essays
  • Powerful Essays

    7) The shortest route problem is to find the shortest distance between an origin and various destination points.…

    • 5225 Words
    • 24 Pages
    Powerful 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
  • 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
  • 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