diff --git a/src/solvers/scip.rs b/src/solvers/scip.rs index 226aaac..89e0dcc 100644 --- a/src/solvers/scip.rs +++ b/src/solvers/scip.rs @@ -160,6 +160,7 @@ impl WithInitialSolution for SCIPProblem { for (var, val) in solution { sol.set_val(Rc::clone(&self.id_for_var[&var]), val); } + self.model.add_sol(sol); self } }