pyomo icon indicating copy to clipboard operation
pyomo copied to clipboard

Feature request: flag to suppress display() and pprint() of "empty" containers

Open qtothec opened this issue 7 years ago • 1 comments

In the interest of easier modeler troubleshooting, display() and pprint() should have the ability to suppress the output of Blocks/IndexedComponents that are not activated.

That is, not only not display the child components that are not active, but not show the container entry at all.

qtothec avatar Jan 10 '18 15:01 qtothec

Note that #839 points out that display() outputs deactivated blocks in a manner that makes it difficult to see that the blocks were deactivated.

jsiirola avatar Jan 05 '24 20:01 jsiirola