Skip to content

Commit

Permalink
fix: add created solution to model
Browse files Browse the repository at this point in the history
  • Loading branch information
KnorpelSenf committed Dec 29, 2024
1 parent cf7a1d1 commit c2ac5ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/solvers/scip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit c2ac5ad

Please sign in to comment.