Instructs the solver to return a new solution from now on.
(&self, solution: Option<Solution>)
| 48 | |
| 49 | /// Instructs the solver to return a new solution from now on. |
| 50 | pub fn configure_solution(&self, solution: Option<Solution>) { |
| 51 | self.configure_response(SolverResponse::Solutions { |
| 52 | solutions: solution.into_iter().collect(), |
| 53 | }); |
| 54 | } |
| 55 | |
| 56 | /// Instructs the solver to return a new solution from now on. |
| 57 | pub fn configure_solution_async(&self, solution: SolutionFuture) { |