This repository has been archived on 2022-06-22. You can view files and clone it, but cannot push or open issues or pull requests.
usaco-guide/content/6_Plat/Flows.mdx

80 lines
2.4 KiB
Text
Raw Normal View History

2020-06-22 14:26:06 +00:00
---
2020-06-25 15:52:19 +00:00
id: max-flow
2020-06-22 14:26:06 +00:00
title: "Maximum Flow"
author: Benjamin Qi
prerequisites:
2020-06-22 20:51:12 +00:00
- Gold - Breadth First Search
2020-06-22 14:26:06 +00:00
description: Introduces maximum flow as well as flow with lower bounds.
2020-06-26 18:00:32 +00:00
frequency: 1
2020-06-22 14:26:06 +00:00
---
Has not been the solution to any platinum problem, but appeared in old gold.
2020-06-28 02:11:09 +00:00
- [Fast Flow](http://www.spoj.com/problems/FASTFLOW/) [](107)
- [YS - Bipartite Matching](https://judge.yosupo.jp/problem/bipartitematching)
2020-06-22 14:26:06 +00:00
## Maximum Flow
- [CSES Download Speed](https://cses.fi/problemset/task/1694)
### Tutorial
- [CPC.10](https://github.com/SuprDewd/T-414-AFLV/tree/master/10_graphs_3_network_flow)
- CPH (20, Flows & Cuts)
- Topics
- Bipartite Matching?
- Edmonds-Karp Algorithm
- Min-Cut Max-Flow Theorem
- [Closure Problem](https://en.wikipedia.org/wiki/Closure_problem)
2020-06-28 02:11:09 +00:00
## Bipartite Matching
- [School Dance](https://cses.fi/problemset/task/1696)
- matching
Old Gold - Cow Steepchase http://www.usaco.org/index.php?page=viewproblem2&cpid=93
## Min-Cut Max Flow
- [Coin Grid](https://cses.fi/problemset/task/1709)
Dilworth stuff
2020-06-26 21:12:04 +00:00
2020-06-28 02:11:09 +00:00
https://maps20.kattis.com/problems/thewrathofkahn
2020-06-26 21:12:04 +00:00
### Dinic's Algorithm
* Hopcroft-Karp Bipartite Matching?
<optional-content title="Faster Flow">
There exist faster flow algorithms such as **Push-Relabel**. Also see the following blog post:
- [Chilli: Dinic's with Scaling](https://codeforces.com/blog/entry/66006)
However, the standard implementation of Dinic's is (almost) always fast enough.
</optional-content>
2020-06-22 14:26:06 +00:00
### Problems
2020-06-28 02:11:09 +00:00
- [CSES Distinct Routes](https://cses.fi/problemset/task/1711)
- [Goods Transportation](http://codeforces.com/problemset/problem/724/E) [](52)
- [ARC 85 MUL](http://arc085.contest.atcoder.jp/tasks/arc085_c) [](67)
- [Fashion](https://csacademy.com/contest/rmi-2017-day-1/task/fashion/statement/) [](95)
- [Card Game](http://codeforces.com/problemset/problem/808/F) [](135)
2020-06-22 14:26:06 +00:00
2020-06-26 21:12:04 +00:00
## Flow with Lower Bounds
2020-06-22 14:26:06 +00:00
2020-06-26 21:12:04 +00:00
### Tutorial
- [CMU Slides](https://www.cs.cmu.edu/~ckingsf/bioinfo-lectures/flowext.pdf)
2020-06-25 15:52:19 +00:00
2020-06-26 21:12:04 +00:00
### Problems
2020-06-25 15:52:19 +00:00
2020-06-26 21:12:04 +00:00
- [Diverse Singing](https://codeforces.com/group/ZFgXbZSjvp/contest/274398/problem/C)
- [Captain America](https://codeforces.com/contest/704/problem/D)
- [Incorrect Flow](https://codeforces.com/contest/708/problem/D)
- [Multi-Path Story](https://atcoder.jp/contests/jag2013summer-day4/tasks/icpc2013summer_day4_i)
- [WAC 4 - Hungry Squirrels](https://dmoj.ca/problem/wac4p6)