Function soco::algorithms::offline::uni_dimensional::optimal_graph_search::make_pow_of_2
source · [−]pub fn make_pow_of_2<'a, C, D>(
p: IntegralSimplifiedSmoothedConvexOptimization<'a, C, D>
) -> Result<IntegralSimplifiedSmoothedConvexOptimization<'_, C, D>> where
C: ModelOutputSuccess + 'a,
D: ModelOutputFailure + 'a,
Expand description
Utility to transform a problem instance where $m$ is not a power of $2$ to an instance that is accepted by optimal_graph_search
.