Default
Index
CTDirect.__adnlp_backend
CTDirect.__disc_method
CTDirect.__display
CTDirect.__grid_size
CTDirect.__ipopt_linear_solver
CTDirect.__ipopt_mu_strategy
CTDirect.__ipopt_print_level
CTDirect.__knitro_print_level
CTDirect.__madnlp_linear_solver
CTDirect.__max_iterations
CTDirect.__ocp_init
CTDirect.__time_grid
CTDirect.__tolerance
Documentation
CTDirect.__adnlp_backend
— Method__adnlp_backend() -> Symbol
Used to set the default backend for AD in ADNLPModels. The default value is :optimized
.
CTDirect.__disc_method
— Method__disc_method() -> Symbol
Used to set the default discretization method. The default value is trapeze
.
CTDirect.__display
— Method__display() -> Bool
Used to set the default display toggle. The default value is true.
CTDirect.__grid_size
— Method__grid_size() -> Int64
Used to set the default grid size. The default value is 250
.
CTDirect.__ipopt_linear_solver
— Method__ipopt_linear_solver() -> String
Used to set the default value of the linear solver of Ipopt for the direct method. The default value is mumps
.
CTDirect.__ipopt_mu_strategy
— Method__ipopt_mu_strategy() -> String
Used to set the default value of the μ strategy of Ipopt for the direct method. The default value is adaptive
.
CTDirect.__ipopt_print_level
— Method__ipopt_print_level() -> Int64
Used to set the default value of the print level of Ipopt for the direct method. The default value is 5
.
CTDirect.__knitro_print_level
— Method__knitro_print_level() -> Int64
Used to set the default value of the print level of Knitro for the direct method. The default value is 3
.
CTDirect.__madnlp_linear_solver
— Method__madnlp_linear_solver() -> String
Used to set the default value of the linear solver of MadNLP for the direct method. The default value is umfpack
.
CTDirect.__max_iterations
— Method__max_iterations() -> Int64
Used to set the default maximum of iterations. The default value is 1000
.
CTDirect.__ocp_init
— Method__ocp_init()
Used to set the default initial guess. The default value is nothing
and will correspond to 0.1 for all variables.
CTDirect.__time_grid
— Method__time_grid()
Used to set the default time grid. The default value is nothing
.
CTDirect.__tolerance
— Method__tolerance() -> Float64
Used to set the default tolerance. The default value is 1e-8
.