plasmo-dev / Plasmo.jl

A Platform for Scalable Modeling and Optimization
Other
143 stars 20 forks source link

How to insyall Plasmo in julia v0.6.4 #69

Open wonitawowowo opened 1 year ago

wonitawowowo commented 1 year ago

Excuse me.I am trying to present the analysis in an article. I saw they were using plasmo v0.1.0- in Julia v0.6.4. Then I try to install it in my computer just as:

julia> Pkg.add("Plasmo",v"0.1.0-") ERROR: Plasmo can't be installed because it has no versions that support 0.6.4 of julia. You may need to update METADATA by running Pkg.update()

And I foundd Plasmo v0.1.0- is not in julia METADATA, then I tried :

julia> Pkg.clone("https://github.com/plasmo-dev/Plasmo.jl","Plasmo") INFO: Cloning Plasmo from https://github.com/plasmo-dev/Plasmo.jl

It worked , but the version of Plasmo I got was v0.2.0+ ,which depends on LinearAlgebra. And the function was append in julia v0.7.0. I turned to the author of the article for help.They told me to try and ask for your help. Could you give me some advise about that? Thanks a lot.

jalving commented 1 year ago

Hi @wonitawowowo. Apologies I haven't gotten around to your issue yet. Plasmo.jl never registered any versions for Julia v0.6. Most likely, you will need to find a working commit hash to use. I'll have to go through the commit history and find the last one that works for Julia v0.6.

odow commented 1 year ago

I'd say that it isn't supported. Even if you find a commit for Plasmo that works, you'll also need commits for JuMP and the various solvers.