Skip to main content

lindist3flow_values_from_primal

Function lindist3flow_values_from_primal 

Source
pub fn lindist3flow_values_from_primal(
    problem: &LinDist3FlowConicProblem,
    primal: &[f64],
) -> Result<LinDist3FlowOpfValues>
Expand description

Translate a canonical primal vector back to formulation-ordered physical values suitable for powerio_prob::LinDist3FlowOpfSolution.

ยงErrors

The primal length differs from the canonical variable count, or the problem contains an inconsistent semantic index.