| 144 | } |
| 145 | |
| 146 | pub trait SolverAdapter { |
| 147 | fn solve( |
| 148 | &self, |
| 149 | schema: &DecisionSchema, |
| 150 | objective: &dyn IntegerObjective, |
| 151 | ) -> Result<OptimizationResult, CombinatorialOptimizationError>; |
| 152 | } |
| 153 | |
| 154 | #[derive(Debug, Clone, PartialEq)] |
| 155 | pub struct AdapterComparison { |
nothing calls this directly
no outgoing calls
no test coverage detected