Suppose we have a bipartite graph with $N$ vertices on either side. In the full bipartite graph, the number of edges is $N^2$ and the number of possible matchings (i.e. assignments) is $N!$.
Now suppose a few known edges ($O(1)$ edges) are missing from the full bipartite graph.
How can we find the number of matchings?
Is there a closed formula?