PersistentBase
(class from pyomo.contrib.appsi.base
)
- class pyomo.contrib.appsi.base.PersistentBase(only_child_vars=False)[source]
Bases:
ABC
Methods
__init__
([only_child_vars])add_block
(block)add_constraints
(cons)add_params
(params)add_sos_constraints
(cons)add_variables
(variables)remove_block
(block)remove_constraints
(cons)remove_params
(params)remove_sos_constraints
(cons)remove_variables
(variables)set_instance
(model)set_objective
(obj)update
([timer])update_params
()update_variables
(variables)Attributes
update_config
Member Documentation