-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
In lines
NLPModelsTest.jl/src/nlp/consistency.jl
Line 456 in 476e47c
| @test isapprox(Jps[i], tmp_m, atol = rtol * max(Jmin, 1.0)) |
and
NLPModelsTest.jl/src/nlp/consistency.jl
Line 549 in 476e47c
| @test isapprox(Jtps[i], tmp_n, atol = rtol * max(Jmin, 1.0)) |
we compare the usual
jtprod!(nlp, x, jtv) with jtprod!(nlps[i], rows, cols, vals, w, tmp_n).
However, the results may differ (in the order of the returned vector), since some models re-implement jac_structure and jac_coord on top of jac_lin_*** and jac_nln_*** without putting the linear constraints first (for instance AmplNLReader.jl).
Metadata
Metadata
Assignees
Labels
No labels