Common Solver Options (Solve Keyword Arguments)
abstol::Number
: The absolute tolerance. Defaults to1e-6
.adaptive::Bool
: Whether the error control adaptivity is on, default astrue
.controller
: Error controller for collocation methods, default asDefectControl()
, more controller options in Error Control Adaptivity.defect_threshold
: Monitor of the size of defect norm. Defaults to0.1
.odesolve_kwargs
: OrdinaryDiffEq.jl solvers kwargs for passing to ODE solving in shooting methods. For more information, see the documentation for OrdinaryDiffEq: Common Solver Options.nlsolve_kwargs
: NonlinearSolve.jl solvers kwargs for passing to nonlinear solving in collocation methods and shooting methods. For more information, see the documentation for NonlinearSolve: Common Solver Options. The default internal nonlinear solver is customized polyalgorithm and the default absolute tolerance of nonlinear solving in collocation and shooting methods is1e-6
.optimize_kwargs
: Optimization.jl solvers kwargs for passing to optimization problem solving in collocation methods and shooting methods. For more information, see the documentation for Optimization: Common Solver Options. The internal optimization solver should be specified and the default absolute tolerance of optimization problem solving in collocation and shooting methods is1e-6
.verbose
: Toggles whether warnings are thrown when the solver exits early. Defaults totrue
.ensemblealg
: WhetherMultipleShooting
uses multithreading, default asEnsembleThreads()
. For more information, see the documentation for OrdinaryDiffEq: EnsembleAlgorithms.