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

A better error msg if no underlying solver chosen #153

Closed
guimarqu opened this issue Jul 1, 2019 · 1 comment
Closed

A better error msg if no underlying solver chosen #153

guimarqu opened this issue Jul 1, 2019 · 1 comment
Milestone

Comments

@guimarqu
Copy link
Contributor

guimarqu commented Jul 1, 2019

This is the current message :

ERROR: MethodError: no method matching optimize!(::Coluna.Formulation{Coluna.DwMaster}, ::Coluna.NoOptimizer)
Closest candidates are:
  optimize!(::Coluna.Formulation) at /Users/gmarques/.julia11/dev/Coluna/src/formulation.jl:433
  optimize!(::Coluna.Formulation, ::Coluna.UserOptimizer) at /Users/gmarques/.julia11/dev/Coluna/src/optimizerwrappers.jl:20
  optimize!(::Coluna.Formulation, ::Coluna.MoiOptimizer) at /Users/gmarques/.julia11/dev/Coluna/src/optimizerwrappers.jl:53
Stacktrace:
 [1] optimize!(::Coluna.Formulation{Coluna.DwMaster}) at /Users/gmarques/.julia11/dev/Coluna/src/formulation.jl:435
 [2] macro expansion at /Users/gmarques/.julia11/packages/TimerOutputs/7zSea/src/TimerOutput.jl:216 [inlined]
 [3] macro expansion at /Users/gmarques/.julia11/dev/Coluna/src/algorithms/colgen.jl:241 [inlined]
 [4] macro expansion at ./util.jl:213 [inlined]
 [5] solve_restricted_master!(::Coluna.Formulation{Coluna.DwMaster}) at /Users/gmarques/.julia11/dev/Coluna/src/algorithms/colgen.jl:240
@guimarqu
Copy link
Contributor Author

fix by PR #203

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