pub struct ILP<V: VariableDomain = bool, C: ILPCoefficient = i64> { /* private fields */ }Expand description
Integer Linear Programming model.
Implementations§
Source§impl<V: VariableDomain, C: ILPCoefficient> ILP<V, C>
impl<V: VariableDomain, C: ILPCoefficient> ILP<V, C>
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, +∞).
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 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> Clone for ILP<V, C>
impl<V: Clone + VariableDomain, C: Clone + ILPCoefficient> Clone for ILP<V, C>
Source§impl<V: Debug + VariableDomain, C: Debug + ILPCoefficient> Debug for ILP<V, C>
impl<V: Debug + VariableDomain, C: Debug + ILPCoefficient> Debug for ILP<V, C>
impl DeclaredVariant for ILP<bool, i64>
impl DeclaredVariant for ILP<i64, i64>
impl DeclaredVariant for ILP<bool, f64>
impl DeclaredVariant for ILP<i64, f64>
Source§impl<'de, V, C> Deserialize<'de> for ILP<V, C>
impl<'de, V, C> Deserialize<'de> for ILP<V, C>
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<V: VariableDomain, C: ILPCoefficient> Problem for ILP<V, C>
impl<V: VariableDomain, C: ILPCoefficient> Problem for ILP<V, C>
Source§const NAME: &'static str = "ILP"
const NAME: &'static str = "ILP"
Base name of this problem type (e.g., “MaximumIndependentSet”).
Source§fn parameter_names() -> &'static [&'static str]
fn parameter_names() -> &'static [&'static str]
Canonical parameter names for this problem model.
Source§fn parameters(&self) -> ProblemParameters
fn parameters(&self) -> ProblemParameters
Measure the complete canonical parameters of this concrete instance.
Source§fn evaluate(
&self,
solution: &Self::Solution,
) -> Result<Self::Value, EvaluationError>
fn evaluate( &self, solution: &Self::Solution, ) -> Result<Self::Value, EvaluationError>
Evaluate the problem on a solution.
Source§fn variant() -> Vec<(&'static str, &'static str)>
fn variant() -> Vec<(&'static str, &'static str)>
Returns variant attributes derived from type parameters. Read more
Source§fn problem_type() -> ProblemType
fn problem_type() -> ProblemType
Look up this problem’s catalog entry. Read more
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for EnsembleComputation
impl ReduceTo<ILP<i64>> for EnsembleComputation
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for IntegerKnapsack
impl ReduceTo<ILP<i64>> for IntegerKnapsack
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for AcyclicPartition<i64>
impl ReduceTo<ILP<i64>> for AcyclicPartition<i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for BiconnectivityAugmentation<SimpleGraph, i64>
impl ReduceTo<ILP<i64>> for BiconnectivityAugmentation<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for BottleneckTravelingSalesman
impl ReduceTo<ILP<i64>> for BottleneckTravelingSalesman
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for BoundedComponentSpanningForest<SimpleGraph, i64>
impl ReduceTo<ILP<i64>> for BoundedComponentSpanningForest<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for ClosestString
impl ReduceTo<ILP<i64>> for ClosestString
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for ClosestSubstring
impl ReduceTo<ILP<i64>> for ClosestSubstring
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for DirectedTwoCommodityIntegralFlow
impl ReduceTo<ILP<i64>> for DirectedTwoCommodityIntegralFlow
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for EulerianPath
impl ReduceTo<ILP<i64>> for EulerianPath
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for Factoring
impl ReduceTo<ILP<i64>> for Factoring
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for FeasibleRegisterAssignment
impl ReduceTo<ILP<i64>> for FeasibleRegisterAssignment
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for FlowShopScheduling
impl ReduceTo<ILP<i64>> for FlowShopScheduling
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for ILP<bool>
impl ReduceTo<ILP<i64>> for ILP<bool>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for IntegralFlowBundles
impl ReduceTo<ILP<i64>> for IntegralFlowBundles
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for IntegralFlowHomologousArcs
impl ReduceTo<ILP<i64>> for IntegralFlowHomologousArcs
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for IntegralFlowWithMultipliers
impl ReduceTo<ILP<i64>> for IntegralFlowWithMultipliers
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for LongestPath<SimpleGraph, i64>
impl ReduceTo<ILP<i64>> for LongestPath<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for MaximumLeafSpanningTree<SimpleGraph>
impl ReduceTo<ILP<i64>> for MaximumLeafSpanningTree<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for MinimumCapacitatedSpanningTree<SimpleGraph, i64>
impl ReduceTo<ILP<i64>> for MinimumCapacitatedSpanningTree<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for MinimumEdgeCostFlow
impl ReduceTo<ILP<i64>> for MinimumEdgeCostFlow
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for MinimumFeedbackArcSet<i64>
impl ReduceTo<ILP<i64>> for MinimumFeedbackArcSet<i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for MinimumFeedbackVertexSet<i64>
impl ReduceTo<ILP<i64>> for MinimumFeedbackVertexSet<i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for MinimumGraphBandwidth<SimpleGraph>
impl ReduceTo<ILP<i64>> for MinimumGraphBandwidth<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for MinimumWeightDecoding
impl ReduceTo<ILP<i64>> for MinimumWeightDecoding
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for MinMaxMulticenter<SimpleGraph, i64>
impl ReduceTo<ILP<i64>> for MinMaxMulticenter<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for MixedChinesePostman<i64>
impl ReduceTo<ILP<i64>> for MixedChinesePostman<i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for MultipleChoiceBranching<i64>
impl ReduceTo<ILP<i64>> for MultipleChoiceBranching<i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for OpenShopScheduling
impl ReduceTo<ILP<i64>> for OpenShopScheduling
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for OptimalLinearArrangement<SimpleGraph>
impl ReduceTo<ILP<i64>> for OptimalLinearArrangement<SimpleGraph>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for PathConstrainedNetworkFlow
impl ReduceTo<ILP<i64>> for PathConstrainedNetworkFlow
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for PreemptiveScheduling
impl ReduceTo<ILP<i64>> for PreemptiveScheduling
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for RegisterSufficiency
impl ReduceTo<ILP<i64>> for RegisterSufficiency
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for RootedTreeStorageAssignment
impl ReduceTo<ILP<i64>> for RootedTreeStorageAssignment
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for RuralPostman<SimpleGraph, i64>
impl ReduceTo<ILP<i64>> for RuralPostman<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for SchedulingToMinimizeWeightedCompletionTime
impl ReduceTo<ILP<i64>> for SchedulingToMinimizeWeightedCompletionTime
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for SequencingToMinimizeMaximumCumulativeCost
impl ReduceTo<ILP<i64>> for SequencingToMinimizeMaximumCumulativeCost
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for SequencingToMinimizeWeightedCompletionTime
impl ReduceTo<ILP<i64>> for SequencingToMinimizeWeightedCompletionTime
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for SequencingToMinimizeWeightedTardiness
impl ReduceTo<ILP<i64>> for SequencingToMinimizeWeightedTardiness
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for ShortestWeightConstrainedPath<SimpleGraph, i64>
impl ReduceTo<ILP<i64>> for ShortestWeightConstrainedPath<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for StrongConnectivityAugmentation<i64>
impl ReduceTo<ILP<i64>> for StrongConnectivityAugmentation<i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for UndirectedFlowLowerBounds
impl ReduceTo<ILP<i64>> for UndirectedFlowLowerBounds
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP<i64>> for UndirectedTwoCommodityIntegralFlow
impl ReduceTo<ILP<i64>> for UndirectedTwoCommodityIntegralFlow
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP> for ILP<i64>
impl ReduceTo<ILP> for ILP<i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
The reduction result type.
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP> for KColoring<K1, SimpleGraph>
impl ReduceTo<ILP> for KColoring<K1, SimpleGraph>
Source§type Result = ReductionKColoringToILP<K1, SimpleGraph>
type Result = ReductionKColoringToILP<K1, SimpleGraph>
The reduction result type.
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
The reduction result type.
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
The reduction result type.
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP> for KColoring<K4, SimpleGraph>
impl ReduceTo<ILP> for KColoring<K4, SimpleGraph>
Source§type Result = ReductionKColoringToILP<K4, SimpleGraph>
type Result = ReductionKColoringToILP<K4, SimpleGraph>
The reduction result type.
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP> for ConsecutiveOnesMatrixAugmentation
impl ReduceTo<ILP> for ConsecutiveOnesMatrixAugmentation
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl ReduceTo<ILP> for SteinerTreeInGraphs<SimpleGraph, i64>
impl ReduceTo<ILP> for SteinerTreeInGraphs<SimpleGraph, i64>
Source§fn reduce_to(&self) -> Result<Self::Result, ReductionError>
fn reduce_to(&self) -> Result<Self::Result, ReductionError>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
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>
Reduce this problem to the target problem type.
Source§fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
fn target_construction(error: ConstructionError) -> ReductionErrorwhere
Self: Sized,
Attach this reduction edge to a target-construction failure.
Source§impl<V: VariableDomain, C> Serialize for ILP<V, C>where
C: Serialize + ILPCoefficient,
impl<V: VariableDomain, C> Serialize for ILP<V, C>where
C: Serialize + ILPCoefficient,
Auto Trait Implementations§
impl<V, C> Freeze for ILP<V, C>
impl<V, C> RefUnwindSafe for ILP<V, C>where
V: RefUnwindSafe,
C: RefUnwindSafe,
impl<V, C> Send for ILP<V, C>
impl<V, C> Sync for ILP<V, C>
impl<V, C> Unpin for ILP<V, C>
impl<V, C> UnsafeUnpin for ILP<V, C>
impl<V, C> UnwindSafe for ILP<V, C>where
V: UnwindSafe,
C: UnwindSafe,
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
Mutably borrows from an owned value. Read more
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,
Causes
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,
Causes
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,
Causes
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,
Causes
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,
Causes
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,
Causes
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,
Causes
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,
Causes
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,
Formats each item in a sequence. Read more
§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,
Pipes by value. This is generally the method you want to use. Read more
§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,
Borrows
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,
Mutably borrows
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
Borrows
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
Mutably borrows
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
Borrows
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
Immutable access to the
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
Mutable access to the
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
Immutable access to the
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
Mutable access to the
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
Immutable access to the
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
Mutable access to the
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
Calls
.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
Calls
.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
Calls
.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
Calls
.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
Calls
.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
Calls
.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
Calls
.tap_deref() only in debug builds, and is erased in release
builds.