We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The problem regards the method parse_gset_format, which should be updated in order to correctly read the files.
While in the library version we can find this content in lines 117 to 120:
s__, t__, _ = v s__ -= 1 # adjust 1-index t__ -= 1 # ditto w[s__, t__] = t__
They should be replace with these lines in order to properly assign the weight to the edges:
s__, t__, _ = v s__ -= 1 # adjust 1-index t__ -= 1 # ditto w[s__, t__] = _
The problem is solved by modifying the 120 to:
w[s__, t__] = _
By modifying this line the weights will be correctly assigned to the problem instance.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
What is happening?
The problem regards the method parse_gset_format, which should be updated in order to correctly read the files.
While in the library version we can find this content in lines 117 to 120:
They should be replace with these lines in order to properly assign the weight to the edges:
How can we reproduce the issue?
The problem is solved by modifying the 120 to:
What should happen?
By modifying this line the weights will be correctly assigned to the problem instance.
Any suggestions?
No response
The text was updated successfully, but these errors were encountered: