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

BilevelJuMP is restricted to v0.5.2 on windows while is installed normally to v0.6.2 on linux #212

Closed
wj-qiao opened this issue Nov 2, 2023 · 5 comments

Comments

@wj-qiao
Copy link

wj-qiao commented Nov 2, 2023

When trying to install BilevelJuMP on Windows, it's limited to version 0.5.2, and it shows that updates are available, but I cannot update to version 0.6.2. However, on the Linux platform, I can install version 0.6.2. I'm not sure where the issue is coming from.

@odow
Copy link
Collaborator

odow commented Nov 2, 2023

What is the output if you do ] add [email protected] in the package manager?

@odow
Copy link
Collaborator

odow commented Nov 2, 2023

The last CI job installed and passed tests with 0.6.2 on Windows: https://github.com/joaquimg/BilevelJuMP.jl/actions/runs/5913458217/job/16037874116

So you likely have a different package that is holding you back.

@wj-qiao
Copy link
Author

wj-qiao commented Nov 2, 2023

It gives me the following log, is there a package installation that's causing version conflicts?

(@v1.8) pkg> add [email protected]
    Updating registry at `D:\Julia-1.8.2\juliaPKG\registries\General.toml`
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Optim [429524aa]:
 Optim [429524aa] log:
 ├─possible versions are: 0.15.3-1.7.8 or uninstalled
 ├─restricted by compatibility requirements with TrafficAssignment [735ffce8] to versions: [0.16.0, 0.20.0-0.21.0]
 │ └─TrafficAssignment [735ffce8] log:
 │   ├─possible versions are: 0.5.0-0.6.3 or uninstalled
 │   ├─restricted to versions * by an explicit requirement, leaving only versions 0.5.0-0.6.3 
 │   └─restricted by compatibility requirements with DataFrames [a93c6f00] to versions: 0.5.0-0.5.1 or uninstalled, leaving only versions: 0.5.0-0.5.1
 │     └─DataFrames [a93c6f00] log:
 │       ├─possible versions are: 0.11.7-1.6.1 or uninstalled
 │       ├─restricted to versions * by an explicit requirement, leaving only versions 0.11.7-1.6.1
 │       ├─restricted by compatibility requirements with Reexport [189a3867] to versions: 0.22.3-1.6.1 or uninstalled, leaving only versions: 0.22.3-1.6.1
 │       │ └─Reexport [189a3867] log:
 │       │   ├─possible versions are: 0.2.0-1.2.2 or uninstalled
 │       │   └─restricted by compatibility requirements with BilevelJuMP [485130c0] to versions: 1.0.0-1.2.2
 │       │     └─BilevelJuMP [485130c0] log:
 │       │       ├─possible versions are: 0.1.0-0.6.2 or uninstalled
 │       │       └─restricted to versions 0.6.2 by an explicit requirement, leaving only versions 0.6.2
 │       ├─restricted by compatibility requirements with PrettyTables [08abe8d2] to versions: 
[0.11.7-0.21.8, 0.22.4-1.6.1] or uninstalled, leaving only versions: 0.22.4-1.6.1
 │       │ └─PrettyTables [08abe8d2] log:
 │       │   ├─possible versions are: 0.1.0-2.2.8 or uninstalled
 │       │   ├─restricted by compatibility requirements with Reexport [189a3867] to versions: 
[0.1.0-0.2.1, 0.11.0-2.2.8] or uninstalled
 │       │   │ └─Reexport [189a3867] log: see above
 │       │   └─restricted by compatibility requirements with DataFrames [a93c6f00] to versions: 0.10.0-1.3.1, leaving only versions: 0.11.0-1.3.1
 │       │     └─DataFrames [a93c6f00] log: see above
 │       └─restricted by compatibility requirements with Compat [34da2185] to versions: 0.11.7-1.3.6 or uninstalled, leaving only versions: 0.22.4-1.3.6
 │         └─Compat [34da2185] log:
 │           ├─possible versions are: 1.0.0-4.10.0 or uninstalled
 │           ├─restricted by julia compatibility requirements to versions: 2.0.0-4.10.0 or uninstalled, leaving only versions: 2.0.0-4.10.0
 │           ├─restricted by compatibility requirements with LNR [7c4cb9fa] to versions: 1.0.0-3.46.2, leaving only versions: 2.0.0-3.46.2
 │           │ └─LNR [7c4cb9fa] log:
 │           │   ├─possible versions are: 0.2.0-0.2.1 or uninstalled
 │           │   └─restricted by compatibility requirements with Compat [34da2185] to versions: 0.2.1 or uninstalled, leaving only versions: 0.2.1
 │           │     └─Compat [34da2185] log: see above
 │           └─restricted by compatibility requirements with DataFrames [a93c6f00] to versions: 3.17.0-4.10.0, leaving only versions: 3.17.0-3.46.2
 │             └─DataFrames [a93c6f00] log: see above
 ├─restricted by compatibility requirements with Compat [34da2185] to versions: 0.17.2-1.7.8 or uninstalled, leaving only versions: 0.20.0-0.21.0
 │ └─Compat [34da2185] log: see above
 └─restricted by compatibility requirements with TrafficAssignment [735ffce8] to versions: 0.16.0 — no versions left
   └─TrafficAssignment [735ffce8] log: see above

@odow
Copy link
Collaborator

odow commented Nov 2, 2023

The problem appears to be https://github.com/chkwon/TrafficAssignment.jl.

If you remove it, you should be able to install a newer version of BIlevelJuMP.

Note that https://github.com/chkwon/TrafficAssignment.jl hasn't been updated for a couple of years.

@wj-qiao
Copy link
Author

wj-qiao commented Nov 2, 2023

yes, after removing it, the latest version of BilvelJuMP is installed.
Thank you @odow

@joaquimg joaquimg closed this as completed Nov 4, 2023
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