MCPcopy Create free account
hub / github.com/Open-Quant/openquant / SolverAdapter

Interface SolverAdapter

crates/openquant/src/combinatorial_optimization.rs:146–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146pub 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)]
155pub struct AdapterComparison {

Callers

nothing calls this directly

Implementers 1

combinatorial_optimization.rscrates/openquant/tests/combinatorial_o

Calls

no outgoing calls

Tested by

no test coverage detected