Question

I posted it twice a day. One gave me a code while the question is not asking about code and is asking to give a graph solution and the other gave a wrong answer for the graph.

Is anyone knowledgeable of this topic and can answer this question?

PLEASE, don't give me a code for irrelevant question.

3. The following flow graph G has some flow assignments already made. Use the Ford-Fulkersoin method to continue the process

0 0
Add a comment Improve this question Transcribed image text
Answer #1

For the given flow graph G, let us create a residual graph Gf  by following process :-

For every edge (u,v) in G with capacity c(u,v) and flow f(u,v) create edge (u,v) in Gf with capacity c(u,v) - f(u,v) and create backward edge (v,u) with capacity f(u,v). Do not show the edge it its capacity become zero.

Thus below is the image of residual graph Gf of above given flow graph:-

ro al (O 1o 10 iO lO IO ( e ΙΟ 10 io

Now in the above graph Gf there is still a path from s to t which is scfbeadt and the capacity of this path which is equal to minimum capacity of edge in this path is 10. Hence using ford-fulkerson algorithm, we can augment flow of 10 unit in this path. This will give create below residual graph.

l O to 1o Lo 10 10 1O Mo

Now we can see that there is no more path from s to t in this residual graph, hence max-flow is attained with total flow value = flow leaving s = flow reaching t = 10+10+10 = 30 unit

Please comment for any clarification.

Add a comment
Know the answer?
Add Answer to:
I posted it twice a day. One gave me a code while the question is not...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • i have a question about the answer that U gave me, how 4 can be the...

    i have a question about the answer that U gave me, how 4 can be the marginal cost and marginal benefit at the time?? why 4 is the marginal benefit? 4 -89%| 6:48 PM × Answer 1 of 1 consumption of one subsequent unit of the product. For a consumer price per gallon is the marginal cost per gallon, so the optimal number of gallons each week will be the number of gallons consumed when the price $4 or marginal...

  • Posted this earlier but the answer i got was wrong.Can some one show me how to...

    Posted this earlier but the answer i got was wrong.Can some one show me how to get the right answer.Thanks Amanda Webb opened a home health care business under the name Home Care, Inc. During its first month of operations, the business had the following transactions: Sold common stock to Ms. Webb and other stockholders in exchange for $30,000 cash Paid $18,500 cash for a parcel of land on which the business will eventually build an office building Purchased supplies...

  • I posted this question earlier but realized that the code was not easy to test since...

    I posted this question earlier but realized that the code was not easy to test since it was just screenshots and not text so I am reposting it: I'm very new at working with file streams, and I'm having trouble with a HW assignment I have to work on. For the assignment I have to read an input file named "MagicSquaresIn.txt" (included at the bottom) and I have to check whether they are normal, associative, and panmagic. To check that...

  • Please help, I asked this question before and no one gave me an answer. Will give thumbs up for correct answer. 1. Breast-feeding mothers secrete calcium into their milk. Some of the calcium may come...

    Please help, I asked this question before and no one gave me an answer. Will give thumbs up for correct answer. 1. Breast-feeding mothers secrete calcium into their milk. Some of the calcium may come from their bones, so mothers may lose bone mineral. Previous research shows that the average percent change in mineral content for breast-feeding mothers is μ--4% with standard devi- ation σ 2.5%. Researchers suspect that mothers who drink at least 8 ounces of milk per day...

  • I have updated my previously posted C++ question to ensure that I have included all of...

    I have updated my previously posted C++ question to ensure that I have included all of the necessary documentation in order to complete Part 2 - Bank Account of the assigned lab in its entirety. Please note that the lab below is somewhat lengthy, and I do not expect you to answer each question! If coding the full lab is too much to ask, please focus soley on Part 2 of the lab, titled Bank Account and the subsections that...

  • Programming language C The third picture is the code that is being refactored Student 1:10 PM...

    Programming language C The third picture is the code that is being refactored Student 1:10 PM 3296.- Function Specifications [15 points 5 bonus points Use appropriate loops to ensure that if the user enters on incorrect value (out-of-range) mare hece-for an input, that the user is given an accurate messoge and provided an opportunity te enter the value egain (fer every input) Use an appropriate loop to allow the user to execute the program over and over again up to...

  • I was wondering if you could help me with my statistics final project. I just don't know how to start a hypothesis!...

    I was wondering if you could help me with my statistics final project. I just don't know how to start a hypothesis! At least please help me form a topic and hypothesis and just briefly guide me how to do. Thank you every much!! STAT 200 Final Project Objective: The final project gives the student an opportunity to use their statistical knowledge to research and compile a report based on an application of personal interest. Resources: You may find information...

  • I can't get my code to work on xcode and give me an output. #include <conio.h> #include <cstdlib> #incl...

    I can't get my code to work on xcode and give me an output. #include <conio.h> #include <cstdlib> #include <fstream> #include <iomanip> #include <iostream> #include <string> #include <vector> using namespace std; // So "std::cout" may be abbreviated to "cout" //Declare global arrays int dummy1[10]; int dummy2[10]; int dummy3[10]; int universalSet[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; //Function to return statement "Empty thread" when the resultant set is empty string isEmpty(int arr[]) { string...

  • I need this in C++. This is all one question. Introduction Your eighth assignment will consist...

    I need this in C++. This is all one question. Introduction Your eighth assignment will consist of two programs, which will involve the use of simple classes. The source code for these problems should be submitted using the naming conventions we specified in class. Please note that your computer programs should comply with the commenting and formatting rules as described in class. For example, there should be a header for the whole program that gives the author's name, class name,...

  • I've posted 3 classes after the instruction that were given at start You will implement and...

    I've posted 3 classes after the instruction that were given at start You will implement and test a PriorityQueue class, where the items of the priority queue are stored on a linked list. The material from Ch1 ~ 8 of the textbook can help you tremendously. You can get a lot of good information about implementing this assignment from chapter 8. There are couple notes about this assignment. 1. Using structure Node with a pointer point to Node structure to...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT