-
-
Notifications
You must be signed in to change notification settings - Fork 398
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
examples/tsp.jl is not tested #699
Comments
Thanks for catching this, I've fixed the example. I'll leave this issue open until we're running tsp.jl as part of the test suite. |
Thank you very much: it works (with Also, adding lines like these following ones help me switching from one solver to another one solver = "glpk" if length(ARGS) > 0 solver = lowercase(ARGS[1]) end if solver == "cplex" using CPLEX getModel() = Model(solver=CplexSolver()) elseif solver == "gurobi" using Gurobi getModel() = Model(solver=GurobiSolver()) else # "glpk" par défaut même si solver incorrect ou inconnu using GLPKMathProgInterface getModel() = Model(solver=GLPKSolverMIP()) end print("\nLoading $(solver) solver\n") |
mlubin
changed the title
examples/tsp.jl and isless() error
examples/tsp.jl is not tested
May 19, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bonjour,
Some months ago, I've succesfully tested
tsp.jl
with julia-0.3.1 and cplex or glpk (although the example is provide for gurobi).I'm now testing the new tsp.jl exemple with the last JuMP version and julia-0.4.0 but get some error.
I saw #684, but it seems to be fixed!
Are code in the
examples
directory supposed to be maintained with each JuMP versions?-- Maurice
The text was updated successfully, but these errors were encountered: