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

Joulia package doesn't complie with the current version of JuMP? #1

Open
agcmoser opened this issue Apr 1, 2019 · 3 comments
Open

Comments

@agcmoser
Copy link

agcmoser commented Apr 1, 2019

Hey,

thank you very much for finally bringin the source code of Joulia online. I just tried to compile Joulia but there seems to be an error with JuMPArrays (which doesn't exist any more in this form?)

(v1.1) pkg> add https://github.com/JuliaEnergy/Joulia.jl
Cloning git-repo https://github.com/JuliaEnergy/Joulia.jl
Updating git-repo https://github.com/JuliaEnergy/Joulia.jl
Resolving package versions...
Installed Widgets ────────── v0.6.0
Installed PlotUtils ──────── v0.5.6
Installed JuliaInterpreter ─ v0.4.0
Installed ProgressMeter ──── v0.9.0
Installed MathOptInterface ─ v0.8.4
Installed Clustering ─────── v0.13.0
Installed JuMP ───────────── v0.19.0
Updating C:\JuliaPackages\environments\v1.1\Project.toml
[32a354f0] + Joulia v0.1.0 #master (https://github.com/JuliaEnergy/Joulia.jl)
Updating C:\JuliaPackages\environments\v1.1\Manifest.toml
[aaaa29a8] ↑ Clustering v0.12.4 ? v0.13.0
[32a354f0] + Joulia v0.1.0 #master (https://github.com/JuliaEnergy/Joulia.jl)
[4076af6c] + JuMP v0.19.0
[aa1ae85d] ↑ JuliaInterpreter v0.3.2 ? v0.4.0
[b8f27783] + MathOptInterface v0.8.4
[995b91a9] ↑ PlotUtils v0.5.5 ? v0.5.6
[92933f4c] + ProgressMeter v0.9.0
[cc8bc4a8] ↑ Widgets v0.5.1 ? v0.6.0

julia> using Joulia
[ Info: Precompiling Joulia [32a354f0-5171-11e9-29ce-9d30ac62d6b5]
ERROR: LoadError: LoadError: UndefVarError: JuMPArray not defined
Stacktrace:
[1] getproperty(::Module, ::Symbol) at .\sysimg.jl:13
[2] top-level scope at none:0
[3] include at .\boot.jl:326 [inlined]
[4] include_relative(::Module, ::String) at .\loading.jl:1038
[5] include at .\sysimg.jl:29 [inlined]
[6] include(::String) at C:\JuliaPackages\packages\Joulia\RhaXZ\src\Joulia.jl:8
[7] top-level scope at none:0
[8] include at .\boot.jl:326 [inlined]
[9] include_relative(::Module, ::String) at .\loading.jl:1038
[10] include(::Module, ::String) at .\sysimg.jl:29
[11] top-level scope at none:2
[12] eval at .\boot.jl:328 [inlined]
[13] eval(::Expr) at .\client.jl:404
[14] top-level scope at .\none:3
in expression starting at C:\JuliaPackages\packages\Joulia\RhaXZ\src\util.jl:26
in expression starting at C:\JuliaPackages\packages\Joulia\RhaXZ\src\Joulia.jl:15
ERROR: Failed to precompile Joulia [32a354f0-5171-11e9-29ce-9d30ac62d6b5] to C:\JuliaPackages\compiled\v1.1\Joulia\oPKpc.ji.
Stacktrace:
[1] compilecache(::Base.PkgId, ::String) at .\loading.jl:1197
[2] _require(::Base.PkgId) at .\loading.jl:960
[3] require(::Base.PkgId) at .\loading.jl:858
[4] require(::Module, ::Symbol) at .\loading.jl:853

@weibezahn
Copy link
Member

Hi agcmoser,

Yes, you are right. Joulia currently still runs on JuMP 0.18.5. We are already working on the update to 0.19.0.

Best, Jens

@agcmoser
Copy link
Author

agcmoser commented Apr 1, 2019

Hy Jens,

thanks for the update! Can you please close the issue once Joulia should work with JuMP 0.19.0.

Keep up the good work!

Greetings, Andreas

@coroa
Copy link

coroa commented Apr 9, 2019

Hi guys,

it'd probably make sense to add a compat section to Project.toml in the mean-time; following the docs:

[compat]
JuMP = "~0.18"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants