ryanjoneil / SCIP.jl

(deprecated) Julia interface to the SCIP solver
MIT License
2 stars 4 forks source link

Compatibility with new MathProgBase interface #29

Closed madeleineudell closed 5 years ago

madeleineudell commented 8 years ago

I'm on Julia 0.4, JuliaOpt/MathProgBase@982b7c86a8d6e128ca907d9a0e31720a9c75f4f8. When running test/runtests.jl, I get the following error:

ERROR: LoadError: MethodError: `LinearQuadraticModel` has no method matching LinearQuadraticModel(::SCIP.SCIPSolver)
 in mixintprog at /Users/madeleine/.julia/v0.4/MathProgBase/src/HighLevelInterface/mixintprog.jl:12
 in mixintprogtest at /Users/madeleine/.julia/v0.4/MathProgBase/test/mixintprog.jl:8
 in include at /Applications/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib
 in include_from_node1 at /Applications/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib
 in process_options at /Applications/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib
 in _start at /Applications/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib

(There are also a bunch of deprecation warnings.)

mlubin commented 8 years ago

This package generally doesn't work, you should use SCIP through AmplNLWriter

madeleineudell commented 8 years ago

Thanks. Perhaps that should be added to the README on this repo?

mlubin commented 8 years ago

Well, it does say: This doesn't do much yet. Check back later.

A link to AmplNLWriter would be helpful though.

ryanjoneil commented 8 years ago

I'll add one

On Thu, Dec 17, 2015 at 2:54 PM, Miles Lubin notifications@github.com wrote:

Well, it does say: This doesn't do much yet. Check back later.

A link to AmplNLWriter would be helpful though.

— Reply to this email directly or view it on GitHub https://github.com/ryanjoneil/SCIP.jl/issues/29#issuecomment-165564817.