class_docstr: This is a base class for different Pyomo formulations. To create a new
  formulation, inherit from this class and implement the abstract methods and properties.
class_docstr_tok: ["This","is","a","base","class","for","different","Pyomo","formulations",".","To","create","a","new","formulation",",","inherit","from","this","class","and","implement","the","abstract","methods","and","properties","."]
code: def _set_block(self, block):
      self.__block = weakref.ref(block)
  
file_path: OMLT/src/omlt/formulation.py
imports: import abc
  import weakref
  import pyomo.environ
label_desc: Use image node_id 2 for calling the _PyomoFormulation obj's underlying member method code with example usage: obj._set_block(block) without return types