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
LoadError
The use case is the following:
man = CutPruner(AvgCutPruningAlgo(10), :Max)
addcuts!(man, A, b, mycut)
and it renders a LoadError
The problem is that you add directly 20 new cuts to an empty pruner which must store a maximum of 10 new cuts. Thus, we enter in this loop: https://github.com/JuliaPolyhedra/CutPruners.jl/blob/master/src/abstract.jl#L195
which calls gettrust in choosecutstoremove: https://github.com/JuliaPolyhedra/CutPruners.jl/blob/master/src/abstract.jl#L93
gettrust
choosecutstoremove
As no cut is stored inside man, we have an empty trust, and we obtain an error when we want to select the cuts to keep: https://github.com/JuliaPolyhedra/CutPruners.jl/blob/master/src/abstract.jl#L108
man
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The use case is the following:
and it renders a
LoadError
The problem is that you add directly 20 new cuts to an empty pruner which must store a maximum of 10 new cuts.
Thus, we enter in this loop:
https://github.com/JuliaPolyhedra/CutPruners.jl/blob/master/src/abstract.jl#L195
which calls
gettrust
inchoosecutstoremove
:https://github.com/JuliaPolyhedra/CutPruners.jl/blob/master/src/abstract.jl#L93
As no cut is stored inside
man
, we have an empty trust, and we obtain an error when we want to select the cuts to keep:https://github.com/JuliaPolyhedra/CutPruners.jl/blob/master/src/abstract.jl#L108
The text was updated successfully, but these errors were encountered: