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

warning message in Knapsack custom model test #541

Closed
guimarqu opened this issue Jun 12, 2021 · 1 comment · Fixed by #546
Closed

warning message in Knapsack custom model test #541

guimarqu opened this issue Jun 12, 2021 · 1 comment · Fixed by #546
Assignees
Labels
needs investigation The issue needs investigation because we don't know if it's a bug and if it comes from Coluna.

Comments

@guimarqu
Copy link
Contributor

There is this warning from the KnapsackLIb :

┌ Warning: Negative weights or profits are not allowed, leading to an undefined behavior.
└ @ KnapsackLib ~/.julia/packages/KnapsackLib/hfonQ/src/Data.jl:38
@guimarqu guimarqu added the needs investigation The issue needs investigation because we don't know if it's a bug and if it comes from Coluna. label Jun 12, 2021
@laradicp
Copy link
Contributor

I hadn't seen these warnings. It's weird that it works. Even without multiplying costs by -1, we have negative ones, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs investigation The issue needs investigation because we don't know if it's a bug and if it comes from Coluna.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants