Model.pop_nodes_and_vars()

Model.pop_nodes_and_vars()#

Model.pop_nodes_and_vars()[source]#

Pops the nodes and variables out of this model.

All nodes and variables are unfrozen and their reference to this model is removed. This model becomes invalid and cannot be used anymore.

Return type:

tuple[dict[str, Node], dict[str, Var]]