We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5703fcb commit 649bb81Copy full SHA for 649bb81
src/LMTR_alg.jl
@@ -403,8 +403,8 @@ function SolverCore.solve!(
403
if has_bnds
404
@. l_bound_m_x = l_bound - xk
405
@. u_bound_m_x = u_bound - xk
406
- @. l_bound_m_x .= max.(l_bound_m_x, -∆_effective)
407
- @. u_bound_m_x .= min.(u_bound_m_x, ∆_effective)
+ @. l_bound_m_x .= max.(l_bound_m_x, -Δk)
+ @. u_bound_m_x .= min.(u_bound_m_x, Δk)
408
set_bounds!(ψ, l_bound_m_x, u_bound_m_x)
409
set_bounds!(solver.subsolver.ψ, l_bound_m_x, u_bound_m_x)
410
end
0 commit comments