Two assignments problem for different costs of edges - F. A. Sharifov (Kompiuternaia matematyka, 2015)