switch_model/utilities/gurobi_aug.py
def save_component(self, component, val):
        """Add a Pyomo Component (e.g. Variable Data) to our object for later pickling"""
        self._names[self._next_index] = component.getname(fully_qualified=True, name_buffer=self._names_buffer)
        self._vals[self._next_index] = val
        self._next_index += 1
Add a Pyomo Component (e.g. Variable Data) to our object for later pickling
Add a Pyomo Component  to our object for later pickling
Add a Pyomo Component to our object for later pickling
def save_component(self, component, val):
        self._names[self._next_index] = component.getname(fully_qualified=True, name_buffer=self._names_buffer)
        self._vals[self._next_index] = val
        self._next_index += 1
def save_component ( self , component , val ) : self . _names [ self . _next_index ] = component . getname ( fully_qualified = True , name_buffer = self . _names_buffer ) self . _vals [ self . _next_index ] = val self . _next_index += 1
Add a Pyomo Component (e.g.
Add a Pyomo Component ( e . g .
"""Add a Pyomo Component (e.g. Variable Data) to our object for later pickling"""
self
component
val