ModelBrowser
(class from pyomo.contrib.viewer.model_browser
)
- class pyomo.contrib.viewer.model_browser.ModelBrowser(ui_data, standard='Var')[source]
Bases:
_ModelBrowser
,_ModelBrowserUI
- __init__(ui_data, standard='Var')[source]
Create a dock widget with a QTreeView of a Pyomo model.
- Parameters:
ui_data – Contains model and ui information
standard – A standard setup for different types of model components {“Var”, “Constraint”, “Param”, “Expression”}
Methods
__init__
(ui_data[, standard])Create a dock widget with a QTreeView of a Pyomo model.
refresh
()update_model
()Member Documentation