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

Add function to summarize model "size"? #2504

Closed
ericphanson opened this issue May 23, 2024 · 1 comment · Fixed by #2505
Closed

Add function to summarize model "size"? #2504

ericphanson opened this issue May 23, 2024 · 1 comment · Fixed by #2505

Comments

@ericphanson
Copy link
Contributor

This came up in jump-dev/Convex.jl#643; it would be nice to have some kind of summary of model size (# scalar variables, constraints, coefficients) easily accessible, so Convex.jl users can get a summary of the final formulation. I think being able to print some stats is a convenient way to get a glimpse into this (and something we could potentially surface automatically via printing in Convex.jl, which would led users build intuition for the final model without having to necessarily seek it out). Something like a full summary of all the cones used, their sizes, etc, could be useful too (but possibly too verbose for some use-cases).

@odow
Copy link
Member

odow commented May 23, 2024

Yeah I quite like a default show, like we do for JuMP.

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.

2 participants