Finding The Max of sum of elements in matrix in distinct rows and columns
The solution is to use Hungarian Algorithm. It's a complicated algorithm. There's a very good lecture on that on youtube:
http://www.youtube.com/watch?v=BUGIhEecipE
The solution is to use Hungarian Algorithm. It's a complicated algorithm. There's a very good lecture on that on youtube:
http://www.youtube.com/watch?v=BUGIhEecipE