-
Notifications
You must be signed in to change notification settings - Fork 4
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
Example fails with undefined reference to JuMP.OptimizerFactory
#9
Comments
Thanks very much for the report! Yes, I think JuMP removed those in 0.21. There was a compounding problem that I hadn't added compatability info to the registry when I registered this package, so it didn't know to disallow JuMP 0.21. I added a new version TravelingSalesmanExact 0.3.3 to fix that, and then I'll make the changes for JuMP 0.21 and put out a 0.3.4 release which should solve this. Glad you got it working anyway! By the way, in case you didn't know, Julia's package manager makes that kind of thing easy with the |
TravelingSalesmanExact 0.3.4 has been released and is compatible with JuMP 0.21, so the example from the (updated) README should now work. You might have to do an |
Sweet! Thanks for the fast response.
That's neat, I'll keep that in mind as I do more Julia spelunking. |
I tried to run the example as detailed in the README, but got the following error:
There doesn't seem to be any such
OptimizerFactory
, not sure if the newest version ofJuMP
removed it? I haveJuMP
0.21
on a new install of Julia1.3.1
As an aside, after copy-pasting the src code into my own file, removing the getters/setters for the optimizer, manually writing
optimizer = GLPK.Optimizer
in place of all the optimizer getters, I manage to get the code to run!The text was updated successfully, but these errors were encountered: