Common Solver Options (Solve Keyword Arguments)

  • abstol::Number: The absolute tolerance. Defaults to 1e-6.
  • adaptive::Bool: Whether the error control adaptivity is on, default as true.
  • controller: Error controller for collocation methods, default as DefectControl(), more controller options in Error Control Adaptivity.
  • defect_threshold: Monitor of the size of defect norm. Defaults to 0.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 is 1e-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 is 1e-6.
  • verbose: Toggles whether warnings are thrown when the solver exits early. Defaults to true.
  • ensemblealg: Whether MultipleShooting uses multithreading, default as EnsembleThreads(). For more information, see the documentation for OrdinaryDiffEq: EnsembleAlgorithms.