convexengineering / gpkit

Geometric programming for engineers
http://gpkit.readthedocs.org
MIT License
206 stars 40 forks source link

refactor solution printing #1545

Open bqpd opened 3 years ago

bqpd commented 3 years ago

perhaps a Table class to clarify/simplify solution printing, which would have a core numpy object array and move many arguments (valfmt etc) to print time. Would also allow for additional columns for more useful diff printing etc.

Ideally this would unify constraint_table and vartable, and by implementing filter/sort methods could greatly reduce the code for custom tables.