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

Class AdapterComparison

crates/openquant/src/combinatorial_optimization.rs:155–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153
154#[derive(Debug, Clone, PartialEq)]
155pub struct AdapterComparison {
156 pub exact: OptimizationResult,
157 pub adapter: OptimizationResult,
158 /// Non-negative gap in objective space relative to the exact optimum.
159 pub objective_gap_vs_exact: f64,
160}
161
162pub fn solve_exact(
163 schema: &DecisionSchema,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected