Skip to content

Commit 41e9244

Browse files
authored
Add test for primal feasibility in bound-constrained.jl
Related to JuliaSmoothOptimizers/JSOSolvers.jl#356
1 parent 8c465e2 commit 41e9244

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/nlp/bound-constrained.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ function bound_constrained_nlp(
8282
@test all(abs.(dual) .< ϵ)
8383
@test all(abs.(primal) .< ϵ)
8484
@test stats.dual_feas < ϵ
85+
@test stats.primal_feas < ϵ
8586
@test stats.status == :first_order
8687
end
8788
end

0 commit comments

Comments
 (0)