TL;DR version: You are given a bipartite graph with atmost 1000 vertices on each side. M (upto 1,000,000) edges are added one by one. Compute the minimum vertex cover after each addition.
Clarification: You need to compute the minimum vertex cover / maximum matching everytime an edge is added.
Any ideas?