Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase the size of the test set in performance tuto #195

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions docs/src/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down