Consider the max-flow problem

Assignment Help Basic Statistics
Reference no: EM131121982

Consider the max-flow problem of Fig. 7.18.

(a) Apply the preflow-push algorithm with initial prices p1 = 0, and pi = N -i for i = 2,...,N. Use two different methods to choose the node for iteration: (1) Select the node with highest price, and (2) Select the node with lowest price. Explain why the first method works better, and speculate on the reason why this might be true in general.

(b) Write a computer program to solve the problem of Fig. 7.18 using the preflow-push algorithm with initial prices p1 = N and pi = 0 for i = 2,...,N. Use two different methods to choose the node for iteration: (1) Select the node with highest price, and (2) Select the node at random with equal probability among the possible choices. Plot the number of iterations required with the two methods as a function of N, starting with N = 1000 and up to some reasonable number. Can you make any experimental inferences about computational complexity

Reference no: EM131121982

Questions Cloud

Describe the players involved in the fusion center : Describe the players involved in the fusion center. Then, list the pros and cons of the Organized Crime Drug Enforcement Task Forces Fusion Center.
The balances for the accounts listed below : The balances for the accounts listed below appear in the Adjusted Trial Balance columns of the end-of-period spreadsheet (work sheet). Indicate whether each balance should be extended to
What are three goals of community-based corrections : Identify and describe at least three types of community-based corrections available in your state, such as probation, intermediate sanctions, parole, and reentry programs.
Creating and maintaining value and on the building blocks : Two questions based upon the content of the PowerPoint presentations on creating and maintaining value and on the building blocks of competencies: How would using systems thinking help administrators Create and maintain value in their operations
Consider the max-flow problem : (a) Apply the preflow-push algorithm with initial prices p1 = 0, and pi = N -i for i = 2,...,N. Use two different methods to choose the node for iteration: (1) Select the node with highest price, and (2) Select the node with lowest price. Explain ..
Transactions are analyzed and recorded in the journal : From the following list of steps in the accounting cycle, identify what two steps are missing.
Show that the method is equivalent to dijkstra''s algorithm : In particular, each augmentation uses a shortest path from the origin to some destination, the augmentations are done in the order of the destinations' proximity to the origin, and upon termination, p1 -pi gives the shortest distance from 1 to eac..
Auction algorithm applied to assignment problems : Consider the auction algorithm applied to assignment problems with benefits in the range [0, C], starting with zero prices.
What are the major factors that influence the effective cost : What are the major factors that influence the effective cost of a term loan?

Reviews

Write a Review

Basic Statistics Questions & Answers

  Winter and the amount of snowfall

However, he needs to be able to predict weekly sales to avoid stock outs that will ultimately lose sales. To help develop a forecasting model, he records the number of snow tires sold weekly during the last winter and the amount of snowfall (in in..

  Distribution of the parts which is normally distributed

The design tolerance thickness for an automotive part is 55 mm to 65 mm. If the process mean thickness is 61 with a standard deviation of 2.3 mm, then what percentage of the sheets will be acceptable? (i.e. What percentage will fall within the des..

  Shark attacks and deaths over a certain year

The number of shark attacks and deaths over a recent 5- year period is shown. Find the mean, median, mode, midrange, variance, and standard deviation for the date. Which data set is more valuable?

  Description of hypothesis testing five step

According to the historical data, the life expectancy in the United States is equal to the life expectancy in Japan. A new study has been made to see whether this has changed.

  Probability that sample contain seven non-defective parts

A production process produces 90% non-defective parts. A sample of 10 parts from the production process is selected. What is the probability that the sample will contain 7 non-defective parts?

  Compare population means

What must be checked in order to compare two population means when you do not know the values of the population standard deviation? Which one?

  Discovering statistics referring to the information from my

discovering statistics referring to the information from my first question as stated nielson media research reported

  Determine the duration of a typical consultation

A study was conducted to determine the duration of a typical consultation in an urban medical practice. The results showed that the length of a consultation could be closely approximated by a normal distribution with a mean of 12.2 minutes and a ..

  Is there evidence that population mean is above a value

A sample of 25 students enrolled in the university indicates that X (bar) = $285.4 and s = $42.20. Using the 0.05 level of significance, is there evidence that the population mean is above $300?

  Number of tumors in a fish living in a river

Let X be the number of tumors in a fish living in a river. Suppose that it has the following probability mass function f(0) = 0.9 f(1) = 0.7 f(2) = 0.02 f(3) = 0.01 A random sample of size n = 30 is selected from this population. Approximate the p..

  Calculate the estimated arithmetic median of the sample

The midpoint for each class (enter in table above): Calculate the estimated arithmetic mean of the sample Calculate the estimated arithmetic median of the sample

  Legitimate sampling strategy

Select a legitimate sampling strategy and collect at least 30 data points using your created question or topic. Discuss the sampling strategy in sufficient detail so that someone else could repeat your data collection without any difficulties or q..

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