Minimum odd cycle transversal calculator with a bipartition witness

Your numbers

Zero-based labels 0 through n−1, including isolated vertices.
One row: u v. No loops or duplicate unordered pairs.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

QuickCalculators · Full calculator and methodology ↗