'Exchange edges to make feasible-tree optimized
:param e: edge with negative cut-value
:param f: new edge with minimum slack-value'

def exchange(self, e, f):

    del self.tree_edges[self.tree_edges.index(e)]
    self.tree_edges.append(f)
    self.init_cutvalues()
