-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong solution result for non square matrix. #10
Comments
This test passes when I disable the row/column minimization functions, so I'm going to start by looking in there to see if that's the problem. |
Nope, I never bothered to add support for non-square input matrices (and now I've discovered that fact), so that seems to have been the problem. |
Commit ae77d7e adds support for rectangular inputs. |
The problem have not solved completely. Here is the related issue. The problem is required more deeper research. P.S. If input into the Google search field "the assignment problem no" the Google will prompt "n square matrix". So it looks like that such problem is really exists ;) . |
I've simplified test data with preserving their behaviour.
I use:
etc... After playing with simple tests I found out that my test cases for 7x5 and 5x7 matrices was wrong. So it looks like the problem was fixed with commit 0acab86 . |
Test: check building of tests, $ mkdir build $ cd build $ cmake -DMUNKRESCPP_DEVEL_MODE=ON .. $ make benchmarks Issue: saebyn#10. Signed-off-by: Gluttton <[email protected]>
Test: check building of tests, $ mkdir build $ cd build $ cmake -DMUNKRESCPP_DEVEL_MODE=ON .. $ make benchmarks Issue: saebyn#10. Signed-off-by: Gluttton <[email protected]>
Based on test:
MunkresTest.solve_3x2_NonObviousSolutionCase001_Success
solution result for non square matrix is wrong.Possibly reason (in my opinion):
The text was updated successfully, but these errors were encountered: