Skip to content
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

Code cannot solve a particular 4x4 matrix #1

Open
GoogleCodeExporter opened this issue Jun 18, 2015 · 2 comments
Open

Code cannot solve a particular 4x4 matrix #1

GoogleCodeExporter opened this issue Jun 18, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
Using the following matrix:
  /* an example cost matrix */
  int r[4*4] =  {20,20,10,10,   10,10,30,20,    10,10,10,20,    20,20,30,10};
  std::vector< std::vector<int> > m = array_to_matrix(r,4,4);

  /* initialize the hungarian_problem using the cost matrix*/
  Hungarian hungarian(m , 4,4, HUNGARIAN_MODE_MINIMIZE_COST) ;


What is the expected output? What do you see instead?
Expect a solution. Instead see an error that it cannot solve.

What version of the product are you using? On what operating system?


Please provide any additional information below.

Original issue reported on code.google.com by sprou...@gmail.com on 16 Oct 2013 at 9:11

@GoogleCodeExporter
Copy link
Author

It is really a bug.

Original comment by purky...@gmail.com on 20 Nov 2013 at 10:44

@GoogleCodeExporter
Copy link
Author

Is someone solving this bug? I run into these troubles as well. It should give 
a solution, however it shows that it cannot solve.

Original comment by macsnoe...@gmail.com on 21 May 2014 at 9:40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant