Solve WiringCircuitBoard, a bipartite problem.