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: src/AL_alg.jl
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ where y is an estimate of the Lagrange multiplier vector for the constraints lco
81
81
82
82
For advanced usage, first define a solver "ALSolver" to preallocate the memory used in the algorithm, and then call `solve!`:
83
83
84
-
solver = ALSolver(reg_nlp)
84
+
solver = ALSolver(reg_nlp; subsolver = R2Solver)
85
85
solve!(solver, reg_nlp)
86
86
87
87
stats = GenericExecutionStats(reg_nlp.model)
@@ -108,7 +108,7 @@ If adopted, the Hessian is accessed as an abstract operator and need not be the
108
108
- `max_iter::Int = 10000`: maximum number of iterations;
109
109
- `max_time::Float64 = 30.0`: maximum time limit in seconds;
110
110
- `max_eval::Int = -1`: maximum number of evaluation of the objective function (negative number means unlimited);
111
-
- `subsolver::AbstractOptimizationSolver = has_bounds(nlp) ? TR : R2`: the procedure used to compute a step (e.g. `PG`, `R2`, `TR` or `TRDH`);
111
+
- `subsolver::AbstractOptimizationSolver = R2Solver`: the procedure used to compute a step (e.g. `R2Solver`, `R2NSolver`, `R2DHSolver`, `TRSolver` or `TRDHSolver`);
112
112
- `subsolver_logger::AbstractLogger`: a logger to pass to the subproblem solver;
0 commit comments