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

Installing StochasticPrograms.jl downgrades CPLEX.jl #49

Open
lagrangian94 opened this issue Aug 22, 2023 · 1 comment
Open

Installing StochasticPrograms.jl downgrades CPLEX.jl #49

lagrangian94 opened this issue Aug 22, 2023 · 1 comment

Comments

@lagrangian94
Copy link

Hi. I am new to StochasticPrograms.jl

I installed this package and got following message:
Pasted Graphic

(@v1.9) pkg> st CPLEX
Status ~/.julia/environments/v1.9/Project.toml
[a076750e] CPLEX v1.0.0

(@v1.9) pkg> add StochasticPrograms
Resolving package versions...
Installed FillArrays ─ v1.6.0
Updating ~/.julia/environments/v1.9/Project.toml
⌃ [a076750e] ↓ CPLEX v1.0.0 ⇒ v0.9.3
[8b8459f2] + StochasticPrograms v0.6.4
Updating ~/.julia/environments/v1.9/Manifest.toml
⌅ [4fba245c] ↓ ArrayInterface v7.4.11 ⇒ v6.0.25
[015c0d05] + ArrayInterfaceOffsetArrays v0.1.7
[b0d46f97] + ArrayInterfaceStaticArrays v0.1.5
[dd5226c6] + ArrayInterfaceStaticArraysCore v0.1.4
⌃ [a076750e] ↓ CPLEX v1.0.0 ⇒ v0.9.3

So current CPLEX.jl v1.0.0 downgraded to CPLEX.jl v0.9.3

The problem is that, CPLEX.jl v0.9.3 does not support a recent CPLEX software v22.1.1, which I am currently using.

(CPLEX.jl v0.9.3 only supports CPLEX 12.10, 20.1, 22.1)

Could you please address this issue?

@odow
Copy link
Collaborator

odow commented Aug 22, 2023

StochasticPrograms.jl requires an exact dependency of MathOptInterface:

MathOptInterface = "= 1.3.0"

This prevents it from installing the latest versions of CPLEX.jl (or Gurobi.jl #46).

I don't think @martinbiel is very active anymore, so I wouldn't expect a quick fix.

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

2 participants