You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/introduction-to-solverbenchmark/index.jmd
+31Lines changed: 31 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -221,3 +221,34 @@ p = profile_solvers(stats, costs, costnames)
221
221
Here is a useful tutorial on how to use the benchmark with specific solver:
222
222
[Run a benchmark with OptimizationProblems](https://jso.dev/OptimizationProblems.jl/dev/benchmark/)
223
223
The tutorial covers how to use the problems from `OptimizationProblems` to run a benchmark for unconstrained optimization.
224
+
225
+
## Handling `solver_specific` in benchmark runs
226
+
227
+
`SolverBenchmark` accepts solver-specific options via the keyword argument `solver_specific` on benchmarking functions (for example, when calling the high-level benchmarking helpers such as `bmark_solvers`).
228
+
229
+
- `solver_specific` is a mapping that associates a solver identifier (typically a `Symbol` or the solver name you use in the benchmark) with a dictionary of options specific to that solver implementation.
230
+
- Those options are passed through to the solver when the run is executed and are recorded as part of the run metadata.
231
+
- As a result, runs that differ only by solver-specific options are treated as distinct entries in the benchmark results; you can group, filter or compare them in the produced `DataFrame`s.
0 commit comments