Model.copy_nodes_and_vars()

Model.copy_nodes_and_vars()#

Model.copy_nodes_and_vars()[source]#

Returns an unfrozen deep copy of the model nodes and variables.

Return type:

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