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

Add better error msg if max number of formulations reached #168

Closed
guimarqu opened this issue Aug 13, 2019 · 2 comments · Fixed by #203, #267 or #457
Closed

Add better error msg if max number of formulations reached #168

guimarqu opened this issue Aug 13, 2019 · 2 comments · Fixed by #203, #267 or #457
Assignees
Labels
enhancement New feature or request good first issue

Comments

@guimarqu
Copy link
Contributor

When I create a formulation with 1000 subproblems, the error message is :

Coluna
Version 0.2 - https://github.com/atoptima/Coluna.jl
ERROR: LoadError: Variable of id Coluna.Variable#20001 exists
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] addvar! at /Users/gmarqu100p/.julia11/packages/Coluna/Qs1Du/src/manager.jl:38 [inlined]
 [3] addvar!(::Coluna.Formulation{Coluna.DwMaster}, ::Coluna.Variable) at /Users/gmarqu100p/.julia11/packages/Coluna/Qs1Du/src/formulation.jl:266
@guimarqu
Copy link
Contributor Author

We should let the user choose the max nb of subproblems.

@guimarqu guimarqu added the enhancement New feature or request label Aug 15, 2019
@guimarqu guimarqu added this to the v0.2 milestone Aug 25, 2019
@guimarqu guimarqu modified the milestones: v0.2, v0.3 Oct 15, 2019
@guimarqu guimarqu reopened this Oct 16, 2019
@guimarqu
Copy link
Contributor Author

Reopen because of atoptima/BlockDecomposition.jl#31

@guimarqu guimarqu reopened this Nov 19, 2020
@guimarqu guimarqu modified the milestones: v0.3, v0.4 Feb 26, 2021
@laradicp laradicp linked a pull request Mar 1, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue
Projects
None yet
2 participants