Skip to main content

iterate_scaling

Function iterate_scaling 

Source
pub fn iterate_scaling(nlp: &dyn IpoptNlp) -> IterateScaling
Expand description

The IterateScaling of the problem nlp iterates on, in the shape of the TNLP it wraps — the objective factor and the per-row c / d factors, and which columns the algorithm holds (not a fixed variable, which upstream’s ResortX reports at the TNLP’s own value). The per-variable factor is 1 here: a ScalingTnlp substituting x̃ = d ⊙ x multiplies its d in when it lifts the iterate. Both arms solve through the same OrigIpoptNlp, so both read their scaling here.