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

Highlight Polyhedra.jl #3541

Closed
jd-foster opened this issue Oct 11, 2023 · 9 comments · Fixed by #3542
Closed

Highlight Polyhedra.jl #3541

jd-foster opened this issue Oct 11, 2023 · 9 comments · Fixed by #3542

Comments

@jd-foster
Copy link
Collaborator

jd-foster commented Oct 11, 2023

CDDLib is listed under solvers: https://jump.dev/JuMP.jl/dev/packages/CDDLib/
A question came up on Slack about using it from JuMP, since it wasn't apparent from the "Installation Guide" table that there was an interface via https://github.com/JuliaPolyhedra/Polyhedra.jl
Perhaps there can be a sentence, section or new category under Supported solvers for "PCL = Polyhedral Computation Libraries" or similar?

@blegat
Copy link
Member

blegat commented Oct 11, 2023

To use it with JuMP, you should just use CDDLib.Optimizer (as detailed here: https://github.com/JuliaPolyhedra/CDDLib.jl/#use-with-jump), you're not using the Polyhedra.jl interface when you're using CDDLib.Optimizer.

@odow
Copy link
Member

odow commented Oct 11, 2023

@odow
Copy link
Member

odow commented Oct 11, 2023

Also cdd is in the list of supported solvers
image

@odow
Copy link
Member

odow commented Oct 11, 2023

I saw the question on Slack. I'm not really sure what needs to be changed in the JuMP docs.

@jd-foster
Copy link
Collaborator Author

Appreciate the info. I guess even just a sentence in the intro materials to say "you can do polyhedral computation things from JuMP: load CDD"?

@odow
Copy link
Member

odow commented Oct 11, 2023

Isn't this more asking for better documentation about JuMP support in Polyhedra?

So far, it's really just:

https://juliapolyhedra.github.io/Polyhedra.jl/stable/optimization/#Creating-a-polyhedron-from-the-feasible-set-of-a-JuMP-model

@jd-foster
Copy link
Collaborator Author

jd-foster commented Oct 11, 2023

Sure. I guess I'm thinking about discoverability of Polyhedra from the perspective of someone coming from the JuMP side? It's not exactly When should you not use JuMP? but, the case of: "You want to do polydehral computations"? Then give the link to
https://juliapolyhedra.github.io/Polyhedra.jl/stable/optimization/#Creating-a-polyhedron-from-the-feasible-set-of-a-JuMP-model

@odow
Copy link
Member

odow commented Oct 12, 2023

Is this what you were thinking: #3542?

@jd-foster
Copy link
Collaborator Author

jd-foster commented Oct 12, 2023

👌🏻 Looks good

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

Successfully merging a pull request may close this issue.

3 participants