1- engine (:: Type{<:SemOptimizer{E}} ) where {E} = E
2- engine (:: SemOptimizer{E} ) where {E} = E
1+ optimizer_engine (:: Type{<:SemOptimizer{E}} ) where {E} = E
2+ optimizer_engine (:: SemOptimizer{E} ) where {E} = E
33
44"""
55 SemOptimizer(args...; engine::Symbol = :Optim, kwargs...)
@@ -9,7 +9,7 @@ of the numerical optimization involved in fitting a SEM.
99
1010The keyword `engine` controlls which Julia package is used, with `:Optim` being the default.
1111- `optimizer_engines()` prints a list of currently available engines.
12- - `engine_info (EngineName)` prints information on the usage of a specific engine.
12+ - `optimizer_engine_doc (EngineName)` prints information on the usage of a specific engine.
1313
1414More engines become available if specific packages are loaded, for example
1515[*NLopt.jl*](https://github.com/JuliaOpt/NLopt.jl) (also see [Constrained optimization](@ref)
@@ -19,7 +19,7 @@ in the online documentation) or
1919
2020The additional arguments `args...` and `kwargs...` are engine-specific and control further
2121aspects of the optimization process, such as the algorithm, convergence criteria or constraints.
22- Information on those can be accessed with `engine_info `.
22+ Information on those can be accessed with `optimizer_engine_doc `.
2323
2424To connect the SEM package to a completely new optimization backend, you can implement a new
2525subtype of SemOptimizer.
@@ -51,17 +51,17 @@ the [`SemOptimizer`](@ref) constructor.
5151The list of engines depends on the Julia packages loaded (with the `using` directive)
5252into the current session.
5353"""
54- optimizer_engines () = Symbol[engine (opt_type) for opt_type in subtypes (SemOptimizer)]
54+ optimizer_engines () = Symbol[optimizer_engine (opt_type) for opt_type in subtypes (SemOptimizer)]
5555
5656"""
57- engine_info (engine::Symbol)
57+ optimizer_engine_doc (engine::Symbol)
5858
5959Shows information on the optimizer engine.
6060For a list of available engines, call `optimizer_engines`.
6161"""
62- engine_info (engine) = engine_info (Val (engine))
62+ optimizer_engine_doc (engine) = optimizer_engine_doc (Val (engine))
6363
64- engine_info (engine:: Val ) =
64+ optimizer_engine_doc (engine:: Val ) =
6565 throw (ArgumentError (" Unknown engine. Did you forget to load the necessary packages?" ))
6666
6767"""
0 commit comments