File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ MadNLPExecutionStats(solver::AbstractMadNLPSolver) =MadNLPExecutionStats(
38
38
function update! (stats:: MadNLPExecutionStats , solver:: AbstractMadNLPSolver )
39
39
stats. status = solver. status
40
40
stats. solution .= @view (primal (solver. x)[1 : get_nvar (solver. nlp)])
41
- stats. multipliers .= solver. y
42
- stats. multipliers_L .= @view (primal (solver. zl)[1 : get_nvar (solver. nlp)])
43
- stats. multipliers_U .= @view (primal (solver. zu)[1 : get_nvar (solver. nlp)])
41
+ stats. multipliers .= ( solver. y .* solver . cb . con_scale) ./ solver . cb . obj_scale[]
42
+ stats. multipliers_L .= @view (primal (solver. zl)[1 : get_nvar (solver. nlp)]) ./ solver . cb . obj_scale[]
43
+ stats. multipliers_U .= @view (primal (solver. zu)[1 : get_nvar (solver. nlp)]) ./ solver . cb . obj_scale[]
44
44
# stats.solution .= min.(
45
45
# max.(
46
46
# @view(primal(solver.x)[1:get_nvar(solver.nlp)]),
You can’t perform that action at this time.
0 commit comments