pub struct ILP<V: VariableDomain = bool, C: ILPCoefficient = i64, B: BoundsPolicy = General> { /* private fields */ }Expand description
Integer Linear Programming model.
Implementations§
Source§impl<V: VariableDomain, C: ILPCoefficient, B: BoundsPolicy> ILP<V, C, B>
impl<V: VariableDomain, C: ILPCoefficient, B: BoundsPolicy> ILP<V, C, B>
Sourcepub fn new(
num_variables: usize,
constraints: Vec<LinearConstraint<C>>,
objective: Vec<(usize, C)>,
sense: ObjectiveSense,
) -> Result<Self, ConstructionError>
pub fn new( num_variables: usize, constraints: Vec<LinearConstraint<C>>, objective: Vec<(usize, C)>, sense: ObjectiveSense, ) -> Result<Self, ConstructionError>
Construct a homogeneous model using the domain certificate’s standard
variable interval: binary [0, 1] or integer [0, +∞).
Bounded integer models with variables must use Self::with_variables.
Sourcepub fn with_variables(
variables: Vec<IntegerVariable>,
constraints: Vec<LinearConstraint<C>>,
objective: Vec<(usize, C)>,
sense: ObjectiveSense,
) -> Result<Self, ConstructionError>
pub fn with_variables( variables: Vec<IntegerVariable>, constraints: Vec<LinearConstraint<C>>, objective: Vec<(usize, C)>, sense: ObjectiveSense, ) -> Result<Self, ConstructionError>
Construct a model with explicit possibly-unbounded variable intervals.
Sourcepub fn variables(&self) -> &[IntegerVariable]
pub fn variables(&self) -> &[IntegerVariable]
Stored variables and their bounds.
Sourcepub fn constraints(&self) -> &[LinearConstraint<C>]
pub fn constraints(&self) -> &[LinearConstraint<C>]
Canonical sparse constraints.
Sourcepub const fn sense(&self) -> ObjectiveSense
pub const fn sense(&self) -> ObjectiveSense
Optimization direction.
Sourcepub fn num_variables(&self) -> usize
pub fn num_variables(&self) -> usize
Number of variables.
Sourcepub fn num_constraints(&self) -> usize
pub fn num_constraints(&self) -> usize
Number of constraints.
Sourcepub fn num_nonzeros(&self) -> usize
pub fn num_nonzeros(&self) -> usize
Number of non-zero row coefficients.
Sourcepub fn max_constraint_magnitude_bits(&self) -> u64
pub fn max_constraint_magnitude_bits(&self) -> u64
Smallest h >= 1 for which every constraint coefficient, RHS and finite
variable endpoint has magnitude strictly below 2^h.
Measures normalized feasible-set data, excluding the objective. Infinite endpoints are not numbers in this maximum; this parameter does not certify boundedness. For floating coefficients it measures magnitude, not mantissa precision.
Sourcepub fn evaluate_objective(&self, values: &[i64]) -> Result<C, EvaluationError>
pub fn evaluate_objective(&self, values: &[i64]) -> Result<C, EvaluationError>
Evaluate the objective in the coefficient domain.
Sourcepub fn is_feasible(&self, values: &[i64]) -> Result<bool, EvaluationError>
pub fn is_feasible(&self, values: &[i64]) -> Result<bool, EvaluationError>
Check stored variable intervals and all rows.
Trait Implementations§
Source§impl<V: Clone + VariableDomain, C: Clone + ILPCoefficient, B: Clone + BoundsPolicy> Clone for ILP<V, C, B>
impl<V: Clone + VariableDomain, C: Clone + ILPCoefficient, B: Clone + BoundsPolicy> Clone for ILP<V, C, B>
Source§impl<V: Debug + VariableDomain, C: Debug + ILPCoefficient, B: Debug + BoundsPolicy> Debug for ILP<V, C, B>
impl<V: Debug + VariableDomain, C: Debug + ILPCoefficient, B: Debug + BoundsPolicy> Debug for ILP<V, C, B>
impl DeclaredVariant for ILP<bool, i64>
impl DeclaredVariant for ILP<i64, i64>
impl DeclaredVariant for ILP<i64, i64, Bounded>
impl DeclaredVariant for ILP<bool, f64>
impl DeclaredVariant for ILP<i64, f64>
Source§impl<'de, V, C, B> Deserialize<'de> for ILP<V, C, B>
impl<'de, V, C, B> Deserialize<'de> for ILP<V, C, B>
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Source§impl<V: VariableDomain, C: ILPCoefficient, B: BoundsPolicy> Problem for ILP<V, C, B>
impl<V: VariableDomain, C: ILPCoefficient, B: BoundsPolicy> Problem for ILP<V, C, B>
Source§const NAME: &'static str = "ILP"
const NAME: &'static str = "ILP"
Source§fn parameter_names() -> &'static [&'static str]
fn parameter_names() -> &'static [&'static str]
Source§fn parameters(&self) -> ProblemParameters
fn parameters(&self) -> ProblemParameters
Source§fn evaluate(
&self,
solution: &Self::Solution,
) -> Result<Self::Value, EvaluationError>
fn evaluate( &self, solution: &Self::Solution, ) -> Result<Self::Value, EvaluationError>
Source§fn variant() -> Vec<(&'static str, &'static str)>
fn variant() -> Vec<(&'static str, &'static str)>
Source§fn problem_type() -> ProblemType
fn problem_type() -> ProblemType
Source§impl ReduceTo<ILP<bool, f64>> for ILP<bool>
impl ReduceTo<ILP<bool, f64>> for ILP<bool>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<bool, f64>> for ExpectedRetrievalCost
impl ReduceTo<ILP<bool, f64>> for ExpectedRetrievalCost
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<bool, f64>> for MaximumEdgeWeightedKClique<f64>
impl ReduceTo<ILP<bool, f64>> for MaximumEdgeWeightedKClique<f64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<bool, f64>> for QUBO<f64>
impl ReduceTo<ILP<bool, f64>> for QUBO<f64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, f64>> for ILP<i64>
impl ReduceTo<ILP<i64, f64>> for ILP<i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for Betweenness
impl ReduceTo<ILP<i64, i64, Bounded>> for Betweenness
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for BoundedDiameterSpanningTree<SimpleGraph, i64>
impl ReduceTo<ILP<i64, i64, Bounded>> for BoundedDiameterSpanningTree<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for CyclicOrdering
impl ReduceTo<ILP<i64, i64, Bounded>> for CyclicOrdering
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for MinimumWeightAndOrGraph
impl ReduceTo<ILP<i64, i64, Bounded>> for MinimumWeightAndOrGraph
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for PartitionIntoPerfectMatchings<SimpleGraph>
impl ReduceTo<ILP<i64, i64, Bounded>> for PartitionIntoPerfectMatchings<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for TwoDimensionalConsecutiveSets
impl ReduceTo<ILP<i64, i64, Bounded>> for TwoDimensionalConsecutiveSets
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for HamiltonianCircuit<SimpleGraph>
impl ReduceTo<ILP<i64, i64, Bounded>> for HamiltonianCircuit<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for IntegerKnapsack
impl ReduceTo<ILP<i64, i64, Bounded>> for IntegerKnapsack
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for MinimumCodeGenerationUnlimitedRegisters
impl ReduceTo<ILP<i64, i64, Bounded>> for MinimumCodeGenerationUnlimitedRegisters
Source§type Result = ReductionMinimumCodeGenerationUnlimitedRegistersToILP
type Result = ReductionMinimumCodeGenerationUnlimitedRegistersToILP
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for AcyclicPartition<i64>
impl ReduceTo<ILP<i64, i64, Bounded>> for AcyclicPartition<i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for BoundedComponentSpanningForest<SimpleGraph, i64>
impl ReduceTo<ILP<i64, i64, Bounded>> for BoundedComponentSpanningForest<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for ClosestString
impl ReduceTo<ILP<i64, i64, Bounded>> for ClosestString
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for ClosestSubstring
impl ReduceTo<ILP<i64, i64, Bounded>> for ClosestSubstring
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for ConsecutiveOnesMatrixAugmentation
impl ReduceTo<ILP<i64, i64, Bounded>> for ConsecutiveOnesMatrixAugmentation
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for DirectedTwoCommodityIntegralFlow
impl ReduceTo<ILP<i64, i64, Bounded>> for DirectedTwoCommodityIntegralFlow
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for EulerianPath
impl ReduceTo<ILP<i64, i64, Bounded>> for EulerianPath
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for Factoring
impl ReduceTo<ILP<i64, i64, Bounded>> for Factoring
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for FeasibleRegisterAssignment
impl ReduceTo<ILP<i64, i64, Bounded>> for FeasibleRegisterAssignment
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for FlowShopScheduling
impl ReduceTo<ILP<i64, i64, Bounded>> for FlowShopScheduling
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for ILP<bool>
impl ReduceTo<ILP<i64, i64, Bounded>> for ILP<bool>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for IntegralFlowBundles
impl ReduceTo<ILP<i64, i64, Bounded>> for IntegralFlowBundles
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for IntegralFlowHomologousArcs
impl ReduceTo<ILP<i64, i64, Bounded>> for IntegralFlowHomologousArcs
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for IntegralFlowWithMultipliers
impl ReduceTo<ILP<i64, i64, Bounded>> for IntegralFlowWithMultipliers
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for LongestPath<SimpleGraph, i64>
impl ReduceTo<ILP<i64, i64, Bounded>> for LongestPath<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for MaximumLeafSpanningTree<SimpleGraph>
impl ReduceTo<ILP<i64, i64, Bounded>> for MaximumLeafSpanningTree<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for MinimumCapacitatedSpanningTree<SimpleGraph, i64>
impl ReduceTo<ILP<i64, i64, Bounded>> for MinimumCapacitatedSpanningTree<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for MinimumEdgeCostFlow
impl ReduceTo<ILP<i64, i64, Bounded>> for MinimumEdgeCostFlow
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for MinimumFeedbackArcSet<i64>
impl ReduceTo<ILP<i64, i64, Bounded>> for MinimumFeedbackArcSet<i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for MinimumFeedbackVertexSet<i64>
impl ReduceTo<ILP<i64, i64, Bounded>> for MinimumFeedbackVertexSet<i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for MinimumGraphBandwidth<SimpleGraph>
impl ReduceTo<ILP<i64, i64, Bounded>> for MinimumGraphBandwidth<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for MinimumWeightDecoding
impl ReduceTo<ILP<i64, i64, Bounded>> for MinimumWeightDecoding
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for MinMaxMulticenter<SimpleGraph, i64>
impl ReduceTo<ILP<i64, i64, Bounded>> for MinMaxMulticenter<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for MixedChinesePostman<i64>
impl ReduceTo<ILP<i64, i64, Bounded>> for MixedChinesePostman<i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for MultipleChoiceBranching<i64>
impl ReduceTo<ILP<i64, i64, Bounded>> for MultipleChoiceBranching<i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for OpenShopScheduling
impl ReduceTo<ILP<i64, i64, Bounded>> for OpenShopScheduling
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for Decision<OpenShopScheduling>
impl ReduceTo<ILP<i64, i64, Bounded>> for Decision<OpenShopScheduling>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for OptimalLinearArrangement<SimpleGraph>
impl ReduceTo<ILP<i64, i64, Bounded>> for OptimalLinearArrangement<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for PathConstrainedNetworkFlow
impl ReduceTo<ILP<i64, i64, Bounded>> for PathConstrainedNetworkFlow
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for PreemptiveScheduling
impl ReduceTo<ILP<i64, i64, Bounded>> for PreemptiveScheduling
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for ProductionPlanning
impl ReduceTo<ILP<i64, i64, Bounded>> for ProductionPlanning
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for RootedTreeStorageAssignment
impl ReduceTo<ILP<i64, i64, Bounded>> for RootedTreeStorageAssignment
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for RuralPostman<SimpleGraph, i64>
impl ReduceTo<ILP<i64, i64, Bounded>> for RuralPostman<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for SchedulingToMinimizeWeightedCompletionTime
impl ReduceTo<ILP<i64, i64, Bounded>> for SchedulingToMinimizeWeightedCompletionTime
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for SequencingToMinimizeMaximumCumulativeCost
impl ReduceTo<ILP<i64, i64, Bounded>> for SequencingToMinimizeMaximumCumulativeCost
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for SequencingToMinimizeWeightedCompletionTime
impl ReduceTo<ILP<i64, i64, Bounded>> for SequencingToMinimizeWeightedCompletionTime
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for SequencingToMinimizeWeightedTardiness
impl ReduceTo<ILP<i64, i64, Bounded>> for SequencingToMinimizeWeightedTardiness
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for SequencingWithReleaseTimesAndDeadlines
impl ReduceTo<ILP<i64, i64, Bounded>> for SequencingWithReleaseTimesAndDeadlines
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for ShortestWeightConstrainedPath<SimpleGraph, i64>
impl ReduceTo<ILP<i64, i64, Bounded>> for ShortestWeightConstrainedPath<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for UndirectedFlowLowerBounds
impl ReduceTo<ILP<i64, i64, Bounded>> for UndirectedFlowLowerBounds
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64, i64, Bounded>> for UndirectedTwoCommodityIntegralFlow
impl ReduceTo<ILP<i64, i64, Bounded>> for UndirectedTwoCommodityIntegralFlow
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP<i64>> for ILP<i64, i64, Bounded>
impl ReduceTo<ILP<i64>> for ILP<i64, i64, Bounded>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for EnsembleComputation
impl ReduceTo<ILP> for EnsembleComputation
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for ILP<i64, i64, Bounded>
impl ReduceTo<ILP> for ILP<i64, i64, Bounded>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for BalancedCompleteBipartiteSubgraph
impl ReduceTo<ILP> for BalancedCompleteBipartiteSubgraph
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for BiconnectivityAugmentation<SimpleGraph, i64>
impl ReduceTo<ILP> for BiconnectivityAugmentation<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for BinPacking<i64>
impl ReduceTo<ILP> for BinPacking<i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for BMF
impl ReduceTo<ILP> for BMF
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for BottleneckTravelingSalesman
impl ReduceTo<ILP> for BottleneckTravelingSalesman
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for CapacityAssignment
impl ReduceTo<ILP> for CapacityAssignment
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for CircuitSAT
impl ReduceTo<ILP> for CircuitSAT
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for Clustering
impl ReduceTo<ILP> for Clustering
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for KColoring<KN, SimpleGraph>
impl ReduceTo<ILP> for KColoring<KN, SimpleGraph>
Source§type Result = ReductionKColoringToILP<KN, SimpleGraph>
type Result = ReductionKColoringToILP<KN, SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for KColoring<K2, SimpleGraph>
impl ReduceTo<ILP> for KColoring<K2, SimpleGraph>
Source§type Result = ReductionKColoringToILP<K2, SimpleGraph>
type Result = ReductionKColoringToILP<K2, SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for KColoring<K3, SimpleGraph>
impl ReduceTo<ILP> for KColoring<K3, SimpleGraph>
Source§type Result = ReductionKColoringToILP<K3, SimpleGraph>
type Result = ReductionKColoringToILP<K3, SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for ConsecutiveBlockMinimization
impl ReduceTo<ILP> for ConsecutiveBlockMinimization
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for ConsecutiveOnesSubmatrix
impl ReduceTo<ILP> for ConsecutiveOnesSubmatrix
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for ConsistencyOfDatabaseFrequencyTables
impl ReduceTo<ILP> for ConsistencyOfDatabaseFrequencyTables
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for DirectedHamiltonianPath
impl ReduceTo<ILP> for DirectedHamiltonianPath
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for DisjointConnectingPaths<SimpleGraph>
impl ReduceTo<ILP> for DisjointConnectingPaths<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for ExactCoverBy3Sets
impl ReduceTo<ILP> for ExactCoverBy3Sets
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for GraphPartitioning<SimpleGraph>
impl ReduceTo<ILP> for GraphPartitioning<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for HamiltonianPath<SimpleGraph>
impl ReduceTo<ILP> for HamiltonianPath<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for HighlyConnectedDeletion<SimpleGraph>
impl ReduceTo<ILP> for HighlyConnectedDeletion<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for IsomorphicSpanningTree<SimpleGraph>
impl ReduceTo<ILP> for IsomorphicSpanningTree<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for KClique<SimpleGraph>
impl ReduceTo<ILP> for KClique<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for Kernel
impl ReduceTo<ILP> for Kernel
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for Knapsack
impl ReduceTo<ILP> for Knapsack
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for LengthBoundedDisjointPaths<SimpleGraph>
impl ReduceTo<ILP> for LengthBoundedDisjointPaths<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for LongestCircuit<SimpleGraph, i64>
impl ReduceTo<ILP> for LongestCircuit<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for Decision<LongestCircuit<SimpleGraph, i64>>
impl ReduceTo<ILP> for Decision<LongestCircuit<SimpleGraph, i64>>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for LongestCommonSubsequence
impl ReduceTo<ILP> for LongestCommonSubsequence
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MaximalIS<SimpleGraph, i64>
impl ReduceTo<ILP> for MaximalIS<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for Maximum2Satisfiability
impl ReduceTo<ILP> for Maximum2Satisfiability
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MaximumClique<SimpleGraph, i64>
impl ReduceTo<ILP> for MaximumClique<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MaximumCoKPlex<SimpleGraph, i64, KN>
impl ReduceTo<ILP> for MaximumCoKPlex<SimpleGraph, i64, KN>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MaximumCoKPlex<SimpleGraph, One, KN>
impl ReduceTo<ILP> for MaximumCoKPlex<SimpleGraph, One, KN>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MaximumCommonEdgeSubgraph
impl ReduceTo<ILP> for MaximumCommonEdgeSubgraph
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MaximumContactMapOverlap
impl ReduceTo<ILP> for MaximumContactMapOverlap
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MaximumDomaticNumber<SimpleGraph>
impl ReduceTo<ILP> for MaximumDomaticNumber<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MaximumEdgeWeightedKClique<i64>
impl ReduceTo<ILP> for MaximumEdgeWeightedKClique<i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MaximumLikelihoodRanking
impl ReduceTo<ILP> for MaximumLikelihoodRanking
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MaximumMatching<SimpleGraph, i64>
impl ReduceTo<ILP> for MaximumMatching<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MaximumSetPacking<i64>
impl ReduceTo<ILP> for MaximumSetPacking<i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MinimumCoveringByCliques<SimpleGraph>
impl ReduceTo<ILP> for MinimumCoveringByCliques<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MinimumCutIntoBoundedSets<SimpleGraph, i64>
impl ReduceTo<ILP> for MinimumCutIntoBoundedSets<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MinimumDominatingSet<SimpleGraph, i64>
impl ReduceTo<ILP> for MinimumDominatingSet<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MinimumExternalMacroDataCompression
impl ReduceTo<ILP> for MinimumExternalMacroDataCompression
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MinimumFaultDetectionTestSet
impl ReduceTo<ILP> for MinimumFaultDetectionTestSet
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MinimumHittingSet
impl ReduceTo<ILP> for MinimumHittingSet
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MinimumInternalMacroDataCompression
impl ReduceTo<ILP> for MinimumInternalMacroDataCompression
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MinimumMatrixCover
impl ReduceTo<ILP> for MinimumMatrixCover
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MinimumMaximalMatching<SimpleGraph>
impl ReduceTo<ILP> for MinimumMaximalMatching<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MinimumMetricDimension<SimpleGraph>
impl ReduceTo<ILP> for MinimumMetricDimension<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MinimumMultiwayCut<SimpleGraph, i64>
impl ReduceTo<ILP> for MinimumMultiwayCut<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MinimumSetCovering<i64>
impl ReduceTo<ILP> for MinimumSetCovering<i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MinimumSumMulticenter<SimpleGraph, i64>
impl ReduceTo<ILP> for MinimumSumMulticenter<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MinimumTardinessSequencing<One>
impl ReduceTo<ILP> for MinimumTardinessSequencing<One>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MinimumTardinessSequencing<i64>
impl ReduceTo<ILP> for MinimumTardinessSequencing<i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MonochromaticTriangle<SimpleGraph>
impl ReduceTo<ILP> for MonochromaticTriangle<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MultipleCopyFileAllocation
impl ReduceTo<ILP> for MultipleCopyFileAllocation
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for MultiprocessorScheduling
impl ReduceTo<ILP> for MultiprocessorScheduling
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for NAESatisfiability
impl ReduceTo<ILP> for NAESatisfiability
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for NumericalMatchingWithTargetSums
impl ReduceTo<ILP> for NumericalMatchingWithTargetSums
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for OneInThreeSatisfiability
impl ReduceTo<ILP> for OneInThreeSatisfiability
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for OptimumCommunicationSpanningTree
impl ReduceTo<ILP> for OptimumCommunicationSpanningTree
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for PaintShop
impl ReduceTo<ILP> for PaintShop
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for PartiallyOrderedKnapsack
impl ReduceTo<ILP> for PartiallyOrderedKnapsack
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for PartitionIntoCliques<SimpleGraph>
impl ReduceTo<ILP> for PartitionIntoCliques<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for PartitionIntoPathsOfLength2<SimpleGraph>
impl ReduceTo<ILP> for PartitionIntoPathsOfLength2<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for PartitionIntoTriangles<SimpleGraph>
impl ReduceTo<ILP> for PartitionIntoTriangles<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for PrecedenceConstrainedScheduling
impl ReduceTo<ILP> for PrecedenceConstrainedScheduling
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for QuadraticAssignment
impl ReduceTo<ILP> for QuadraticAssignment
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for QUBO<i64>
impl ReduceTo<ILP> for QUBO<i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for RectilinearPictureCompression
impl ReduceTo<ILP> for RectilinearPictureCompression
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for RegisterSufficiency
impl ReduceTo<ILP> for RegisterSufficiency
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for ResourceConstrainedScheduling
impl ReduceTo<ILP> for ResourceConstrainedScheduling
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for SchedulingWithIndividualDeadlines
impl ReduceTo<ILP> for SchedulingWithIndividualDeadlines
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for SequencingToMinimizeTardyTaskWeight
impl ReduceTo<ILP> for SequencingToMinimizeTardyTaskWeight
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for SequencingWithDeadlinesAndSetUpTimes
impl ReduceTo<ILP> for SequencingWithDeadlinesAndSetUpTimes
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for SequencingWithinIntervals
impl ReduceTo<ILP> for SequencingWithinIntervals
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for SequencingWithReleaseTimesAndDeadlines
impl ReduceTo<ILP> for SequencingWithReleaseTimesAndDeadlines
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for SetSplitting
impl ReduceTo<ILP> for SetSplitting
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for ShortestCommonSupersequence
impl ReduceTo<ILP> for ShortestCommonSupersequence
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for SparseMatrixCompression
impl ReduceTo<ILP> for SparseMatrixCompression
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for StackerCrane
impl ReduceTo<ILP> for StackerCrane
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for SteinerTree<SimpleGraph, i64>
impl ReduceTo<ILP> for SteinerTree<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for StringToStringCorrection
impl ReduceTo<ILP> for StringToStringCorrection
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for StrongConnectivityAugmentation<i64>
impl ReduceTo<ILP> for StrongConnectivityAugmentation<i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for SubgraphIsomorphism
impl ReduceTo<ILP> for SubgraphIsomorphism
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for SumOfSquaresPartition
impl ReduceTo<ILP> for SumOfSquaresPartition
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for ThreeDimensionalMatching
impl ReduceTo<ILP> for ThreeDimensionalMatching
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for ThreePartition
impl ReduceTo<ILP> for ThreePartition
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for TimetableDesign
impl ReduceTo<ILP> for TimetableDesign
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<ILP> for TravelingSalesman<SimpleGraph, i64>
impl ReduceTo<ILP> for TravelingSalesman<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl ReduceTo<QUBO> for ILP<bool>
impl ReduceTo<QUBO> for ILP<bool>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Source§impl<V: VariableDomain, C, B: BoundsPolicy> Serialize for ILP<V, C, B>where
C: Serialize + ILPCoefficient,
impl<V: VariableDomain, C, B: BoundsPolicy> Serialize for ILP<V, C, B>where
C: Serialize + ILPCoefficient,
Auto Trait Implementations§
impl<V, C, B> Freeze for ILP<V, C, B>
impl<V, C, B> RefUnwindSafe for ILP<V, C, B>
impl<V, C, B> Send for ILP<V, C, B>
impl<V, C, B> Sync for ILP<V, C, B>
impl<V, C, B> Unpin for ILP<V, C, B>
impl<V, C, B> UnsafeUnpin for ILP<V, C, B>
impl<V, C, B> UnwindSafe for ILP<V, C, B>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Conv for T
impl<T> Conv for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self to use its Binary implementation when Debug-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self to use its Display implementation when
Debug-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self to use its LowerExp implementation when
Debug-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self to use its LowerHex implementation when
Debug-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self to use its Octal implementation when Debug-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self to use its Pointer implementation when
Debug-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self to use its UpperExp implementation when
Debug-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self to use its UpperHex implementation when
Debug-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self, then passes self.as_ref() into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self, then passes self.as_mut() into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self, then passes self.deref() into the pipe function.§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B> of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B> of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R> view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R> view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap() only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut() only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow() only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut() only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref() only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut() only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref() only in debug builds, and is erased in release
builds.