diff --git a/bnb/bnb.cpp b/bnb/bnb.cpp index 06606fec282354e5f43a710cb82b3262431a4f5c..7975382ae027c3c49af8d1b55752830ff166100f 100644 --- a/bnb/bnb.cpp +++ b/bnb/bnb.cpp @@ -64,6 +64,10 @@ void solver::resize_nodes(size_t count) { assignment_.resize_nodes(count); } +void solver::define_graph(graph& g){ + nodes_ = g; +} + void solver::solve() { //anfangs upper bound? best_objective_ = nodes_.num_vertices();