Skip to content

Commit 817714a

Browse files
numerical results: apply D1Lab comments
1 parent ba3c99f commit 817714a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

paper/paper.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ reg_nlp = RegularizedNLPModel(f, h)
8888
They can also be paired into a *Regularized Nonlinear Least Squares Model* if $f(x) = \tfrac{1}{2} \|F(x)\|^2$ for some residual $F: \mathbb{R}^n \to \mathbb{R}^m$, in the case of the **LM** and **LMTR** solvers.
8989

9090
```julia
91-
reg_nls = RegularizedNLSModel(f, h)
91+
reg_nls = RegularizedNLSModel(F, h)
9292
```
9393

9494
RegularizedProblems.jl also provides a set of instances commonly used in data science and in nonsmooth optimization, where several choices of $f$ can be paired with various regularizers.
@@ -116,7 +116,7 @@ Random.seed!(1234)
116116
model, nls_model, _ = RegularizedProblems.svm_train_model() # Build SVM model
117117
f = LSR1Model(model) # L-SR1 Hessian approximation
118118
λ = 1.0 # Regularization parameter
119-
h = RootNormLhalf(λ) # Nonsmooth term
119+
h = RootNormLhalf(λ) # Nonsmooth term
120120
reg_nlp = RegularizedNLPModel(f, h) # Regularized problem
121121
solver = R2NSolver(reg_nlp) # Choose solver
122122
stats = RegularizedExecutionStats(reg_nlp)
@@ -129,7 +129,7 @@ solve!(solver, reg_nlp, stats; atol=1e-5, rtol=1e-5, verbose=1, sub_kwargs=(max_
129129
We compare **TR**, **R2N**, **LM** and **LMTR** from our library on the SVM problem.
130130

131131
The table reports the convergence status of each solver, the number of evaluations of $f$, the number of evaluations of $\nabla f$, the number of proximal operator evaluations, the elapsed time and the final objective value.
132-
We use limited-memory SR1 Hessian approximations.
132+
For TR and R2N, we use limited-memory SR1 Hessian approximations.
133133
The subproblem solver is **R2**.
134134

135135
\input{examples/Benchmark.tex}

0 commit comments

Comments
 (0)