From ba9e6c8ae22d1c2bf7842dc6c034dceb40af04b0 Mon Sep 17 00:00:00 2001 From: tmigot Date: Thu, 20 Jul 2023 15:41:12 +0200 Subject: [PATCH] Increase the size of the test set in performance tuto --- docs/src/performance.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/src/performance.md b/docs/src/performance.md index 06f2fcb1..6b871087 100644 --- a/docs/src/performance.md +++ b/docs/src/performance.md @@ -132,15 +132,12 @@ using ADNLPModels, NLPModels, OptimizationProblems The package [`OptimizationProblems.jl`](https://github.com/JuliaSmoothOptimizers/OptimizationProblems.jl) provides a collection of optimization problems in JuMP and ADNLPModels syntax. ```@example ex3 -meta = OptimizationProblems.meta; +meta = OptimizationProblems.meta +scalable_problems = meta[meta.variable_nvar .== true, :name] ``` We select the problems that are scalable, so that there size can be modified. By default, the size is close to `100`. -```@example ex3 -scalable_problems = meta[(meta.variable_nvar .== true) .& (meta.ncon .> 0), :name] -``` - ```@example ex3 using NLPModelsJuMP, Zygote list_backends = Dict(