|
11 | 11 | @testset "allocs QPSData" begin
|
12 | 12 | for problem in qp_problems_Matrix
|
13 | 13 | nlp_qps = eval(Symbol(problem * "_QPSData"))()
|
14 |
| - allocs = test_allocs_nlpmodels(nlp_qps; linear_api=true, exclude=[jac_op]) |
| 14 | + allocs = test_allocs_nlpmodels(nlp_qps; linear_api = true, exclude = [jac_op]) |
15 | 15 | test_only_zeros(allocs)
|
16 | 16 | end
|
17 | 17 | end
|
18 | 18 |
|
19 | 19 | @testset "allocs QP_dense" begin
|
20 | 20 | for problem in qp_problems_Matrix
|
21 | 21 | nlp_qm_dense = eval(Symbol(problem * "_QP_dense"))()
|
22 |
| - allocs = test_allocs_nlpmodels(nlp_qm_dense; linear_api=true, exclude=[jac_op]) |
| 22 | + allocs = test_allocs_nlpmodels(nlp_qm_dense; linear_api = true, exclude = [jac_op]) |
23 | 23 | test_only_zeros(allocs)
|
24 | 24 | end
|
25 | 25 | end
|
26 | 26 |
|
27 | 27 | @testset "allocs COO QPSData" begin
|
28 | 28 | for problem in qp_problems_COO
|
29 | 29 | nlp_qps = eval(Symbol(problem * "_QPSData"))()
|
30 |
| - allocs = test_allocs_nlpmodels(nlp_qps; linear_api=true, exclude=[jac_op]) |
| 30 | + allocs = test_allocs_nlpmodels(nlp_qps; linear_api = true, exclude = [jac_op]) |
31 | 31 | test_only_zeros(allocs)
|
32 | 32 | end
|
33 | 33 | end
|
34 | 34 |
|
35 | 35 | @testset "allocs COO QP" begin
|
36 | 36 | for problem in qp_problems_COO
|
37 | 37 | nlp_qm_dense = eval(Symbol(problem * "_QP"))()
|
38 |
| - allocs = test_allocs_nlpmodels(nlp_qm_dense; linear_api=true, exclude=[jac_op]) |
| 38 | + allocs = test_allocs_nlpmodels(nlp_qm_dense; linear_api = true, exclude = [jac_op]) |
39 | 39 | test_only_zeros(allocs)
|
40 | 40 | end
|
41 | 41 | end
|
|
45 | 45 | nlp = eval(Symbol(problem))()
|
46 | 46 | x = nlp.meta.x0
|
47 | 47 | nlp_qm = QuadraticModel(nlp, x)
|
48 |
| - allocs = test_allocs_nlpmodels(nlp_qm; linear_api=true, exclude=[jac_op]) |
| 48 | + allocs = test_allocs_nlpmodels(nlp_qm; linear_api = true, exclude = [jac_op]) |
49 | 49 | test_only_zeros(allocs)
|
50 | 50 | end
|
51 | 51 | end
|
|
0 commit comments