Skip to content

Add function to summarize model "size"? #2504

Closed
@ericphanson

Description

@ericphanson

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions