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

Can't install on Julia 1.11 #71

Open
araujoms opened this issue Dec 11, 2024 · 3 comments
Open

Can't install on Julia 1.11 #71

araujoms opened this issue Dec 11, 2024 · 3 comments

Comments

@araujoms
Copy link

I get unsatisfiable requirements because of BinaryProvider:

(@v1.11) pkg> add SDPAFamily
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package BinaryProvider [b99e7846]:
 BinaryProvider [b99e7846] log:
 ├─possible versions are: 0.4.0 - 0.5.10 or uninstalled
 ├─restricted by compatibility requirements with SDPAFamily [bfe18334] to versions: 0.5.0 - 0.5.10
 │ └─SDPAFamily [bfe18334] log:
 │   ├─possible versions are: 0.1.0 - 0.3.0 or uninstalled
 │   └─restricted to versions * by an explicit requirement, leaving only versions: 0.1.0 - 0.3.0
 └─restricted by julia compatibility requirements to versions: uninstalled — no versions left

Also, in the meanwhile JuMP has added support for generic types, are there any plans to support them here?

@blegat
Copy link
Contributor

blegat commented Dec 12, 2024

If variant is set to sdpa, it uses SDPA_jll and is then equivalent to SDPA.jl. If you use another variant, then it's not part of any binary in Yggdrasil so it uses its own build script in https://github.com/ericphanson/SDPAFamily.jl/tree/master/deps
I believe this should be moved to Yggdrasil and incorporated into SDPA_jll or into a separate SDPAFamily_jll

@ericphanson
Copy link
Owner

when we tried (uh... 5 years ago), we could not get it to build with Yggdrasil. One issue IIRC was that Yggdrasil wanted to build libraries that were dynamically linkable with Julia, whereas we only wanted binary executables, and we had issues with the Fortran dependencies and dynamic linking (...I think).

We also use a fork of the original code in order to have it print the results in high precision, so we can parse the output files to pass the info back to Julia in high precision.

See https://github.com/ericphanson/SDPA_GMP_Builder

I agree it would be good to move it to Yggdrasil, but I don't have any bandwidth for that right now (or maybe ever, I really don't like working on c++ compilation issues). If someone does want to go for it, note ericphanson/SDPA_GMP_Builder#1.

Also, in the meanwhile JuMP has added support for generic types, are there any plans to support them here?

I have no plans, but I could probably help review PRs for it. I am also open to adding collaborators to this repo or transferring to an org if anyone wants to help maintain.

(I left academia in 2020 and am not doing mathematical optimization in my job so it is hard to find time for this).

@araujoms
Copy link
Author

I'd be willing to add support for generic types from JuMP here, but I'm afraid my goodwill is only enough for Julia code. Somebody else would have to take care of Yggdrasil.

Have you submitted your patches upstream, though? That would certainly make things easier.

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