Maximum flow using Ford-Fulkerson and DFS

This question is about the time complexity of the Ford-Fulkerson maximum flow algorithm when using DFS to find augmenting paths.

There is a well-known example showing that using DFS one can need a linear number of iterations in the maximum flow, see for instance the Wikipedia page linked to above.

However, I'm not really convinced by this example: a standard DFS implementation would not exhibit the behaviour of alternating between B and C as first node of the path (using the vertex names from the Wikipedia page).

So, let us impose the very natural condition that whenever the DFS visits a node $u$, it always examines the neighbors of $u$ in the same order. Are there still examples for which FF with DFS uses a large number of iterations?

As a variant, suppose that we have the additional property that the different orderings of neighbors are consistent with some arbitrary but fixed global ordering of the vertices. Does that make a difference?

This seems to me like a pretty basic question; I apologize in advance if the answer is well-known but I am not an expert on flows and some googling did not turn up anything.

Edit: The answer turns out to be yes, there are still examples. See Figure 2 of this paper. In these examples FF with DFS take an exponential (in the number of vertices) number of iterations. It seems easy to prove that this is tight, i.e., that the number of iterations are always bounded by $2^{O(n)}$ (regardless of the values of the capacities).

• I have wondered about the same question. – Luca Trevisan Feb 24 '11 at 1:45
• (1) Nice question. (2) I think that the bad-case example (like the one in Wikipedia) is usually introduced as a reason why some consideration about visiting order is necessary, not as a reason against using depth-first search. – Tsuyoshi Ito Feb 24 '11 at 14:57
• I don't think I can now teach FF without an answer to this question. Nice !! – Suresh Venkat Feb 24 '11 at 16:52
• Isn't finding the maximum flow in a minimal number of iterations NP-Complete? – user834 Feb 24 '11 at 19:20
{"ft_lang_label":"__label__en","ft_lang_prob":0.9438297,"math_prob":0.905761,"size":1477,"snap":"2019-26-2019-30","text_gpt3_token_len":306,"char_repetition_ratio":0.119484045,"word_repetition_ratio":0.0,"special_character_ratio":0.20649967,"punctuation_ratio":0.08650519,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98681825,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-06-25T07:59:26Z\",\"WARC-Record-ID\":\"<urn:uuid:ad760eed-f866-4293-8aff-2997e01c9617>\",\"Content-Length\":\"145256\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f329871a-a88f-4e73-8c45-6807f1369244>\",\"WARC-Concurrent-To\":\"<urn:uuid:3a7f9c8f-214b-44ed-8bee-f5ab97b6f7f6>\",\"WARC-IP-Address\":\"151.101.1.69\",\"WARC-Target-URI\":\"https://cstheory.stackexchange.com/questions/5108/maximum-flow-using-ford-fulkerson-and-dfs\",\"WARC-Payload-Digest\":\"sha1:K6DKZESW64JTN2GG3Q7764WDZTFHPS3U\",\"WARC-Block-Digest\":\"sha1:TYRSEJLKZO4QLKCKTPHOTIC25WHKRJIL\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-26/CC-MAIN-2019-26_segments_1560627999814.77_warc_CC-MAIN-20190625072148-20190625094148-00223.warc.gz\"}"}