@@ -142,39 +142,15 @@ NonlinearLeastSquaresProblem.
142
142
This algorithm is only available if `MINPACK.jl` is installed.
143
143
"""
144
144
@concrete struct CMINPACK <: AbstractNonlinearSolveExtensionAlgorithm
145
- show_trace:: Bool
146
- tracing:: Bool
147
145
method:: Symbol
148
146
autodiff
149
147
end
150
148
151
- function CMINPACK (; show_trace = missing , tracing = missing ,
152
- method:: Symbol = :auto , autodiff = missing )
149
+ function CMINPACK (; method:: Symbol = :auto , autodiff = missing )
153
150
if Base. get_extension (@__MODULE__ , :NonlinearSolveMINPACKExt ) === nothing
154
151
error (" CMINPACK requires MINPACK.jl to be loaded" )
155
152
end
156
-
157
- if show_trace != = missing
158
- Base. depwarn (
159
- " `show_trace` for CMINPACK has been deprecated and will be removed \
160
- in v4. Use the `show_trace` keyword argument via the logging API \
161
- https://docs.sciml.ai/NonlinearSolve/stable/basics/Logging/ \
162
- instead." , :CMINPACK )
163
- else
164
- show_trace = false
165
- end
166
-
167
- if tracing != = missing
168
- Base. depwarn (
169
- " `tracing` for CMINPACK has been deprecated and will be removed \
170
- in v4. Use the `store_trace` keyword argument via the logging API \
171
- https://docs.sciml.ai/NonlinearSolve/stable/basics/Logging/ \
172
- instead." , :CMINPACK )
173
- else
174
- tracing = false
175
- end
176
-
177
- return CMINPACK (show_trace, tracing, method, autodiff)
153
+ return CMINPACK (method, autodiff)
178
154
end
179
155
180
156
"""
@@ -228,63 +204,26 @@ For more information on these arguments, consult the
228
204
@concrete struct NLsolveJL <: AbstractNonlinearSolveExtensionAlgorithm
229
205
method:: Symbol
230
206
autodiff
231
- store_trace:: Bool
232
- extended_trace:: Bool
233
207
linesearch
234
208
linsolve
235
209
factor
236
210
autoscale:: Bool
237
211
m:: Int
238
212
beta
239
- show_trace:: Bool
240
213
end
241
214
242
- function NLsolveJL (; method = :trust_region , autodiff = :central , store_trace = missing ,
243
- extended_trace = missing , linesearch = missing ,
215
+ function NLsolveJL (; method = :trust_region , autodiff = :central , linesearch = missing ,
244
216
linsolve = (x, A, b) -> copyto! (x, A \ b), factor = 1.0 ,
245
- autoscale = true , m = 10 , beta = one (Float64), show_trace = missing )
217
+ autoscale = true , m = 10 , beta = one (Float64))
246
218
if Base. get_extension (@__MODULE__ , :NonlinearSolveNLsolveExt ) === nothing
247
219
error (" NLsolveJL requires NLsolve.jl to be loaded" )
248
220
end
249
221
250
- if show_trace != = missing
251
- Base. depwarn (" `show_trace` for NLsolveJL has been deprecated and will be removed \
252
- in v4. Use the `show_trace` keyword argument via the logging API \
253
- https://docs.sciml.ai/NonlinearSolve/stable/basics/Logging/ \
254
- instead." ,
255
- :NLsolveJL )
256
- else
257
- show_trace = false
258
- end
259
-
260
- if store_trace != = missing
261
- Base. depwarn (
262
- " `store_trace` for NLsolveJL has been deprecated and will be removed \
263
- in v4. Use the `store_trace` keyword argument via the logging API \
264
- https://docs.sciml.ai/NonlinearSolve/stable/basics/Logging/ \
265
- instead." ,
266
- :NLsolveJL )
267
- else
268
- store_trace = false
269
- end
270
-
271
- if extended_trace != = missing
272
- Base. depwarn (
273
- " `extended_trace` for NLsolveJL has been deprecated and will be \
274
- removed in v4. Use the `trace_level = TraceAll()` keyword argument \
275
- via the logging API \
276
- https://docs.sciml.ai/NonlinearSolve/stable/basics/Logging/ instead." ,
277
- :NLsolveJL )
278
- else
279
- extended_trace = false
280
- end
281
-
282
222
if autodiff isa Symbol && autodiff != = :central && autodiff != = :forward
283
223
error (" `autodiff` must be `:central` or `:forward`." )
284
224
end
285
225
286
- return NLsolveJL (method, autodiff, store_trace, extended_trace, linesearch,
287
- linsolve, factor, autoscale, m, beta, show_trace)
226
+ return NLsolveJL (method, autodiff, linesearch, linsolve, factor, autoscale, m, beta)
288
227
end
289
228
290
229
"""
@@ -349,25 +288,15 @@ Fixed Point Problems. We allow using this algorithm to solve root finding proble
349
288
stabilize:: Bool
350
289
check_obj:: Bool
351
290
orders:: Vector{Int}
352
- time_limit
353
291
end
354
292
355
293
function SpeedMappingJL (; σ_min = 0.0 , stabilize:: Bool = false , check_obj:: Bool = false ,
356
- orders:: Vector{Int} = [3 , 3 , 2 ], time_limit = missing )
294
+ orders:: Vector{Int} = [3 , 3 , 2 ])
357
295
if Base. get_extension (@__MODULE__ , :NonlinearSolveSpeedMappingExt ) === nothing
358
296
error (" SpeedMappingJL requires SpeedMapping.jl to be loaded" )
359
297
end
360
298
361
- if time_limit != = missing
362
- Base. depwarn (" `time_limit` keyword argument to `SpeedMappingJL` has been \
363
- deprecated and will be removed in v4. Pass `maxtime = <value>` to \
364
- `SciMLBase.solve`." ,
365
- :SpeedMappingJL )
366
- else
367
- time_limit = 1000
368
- end
369
-
370
- return SpeedMappingJL (σ_min, stabilize, check_obj, orders, time_limit)
299
+ return SpeedMappingJL (σ_min, stabilize, check_obj, orders)
371
300
end
372
301
373
302
"""
0 commit comments