kinsol_interface_meta.cpp
1 /*
2  * This file is part of CasADi.
3  *
4  * CasADi -- A symbolic framework for dynamic optimization.
5  * Copyright (C) 2010-2023 Joel Andersson, Joris Gillis, Moritz Diehl,
6  * KU Leuven. All rights reserved.
7  * Copyright (C) 2011-2014 Greg Horn
8  *
9  * CasADi is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public
11  * License as published by the Free Software Foundation; either
12  * version 3 of the License, or (at your option) any later version.
13  *
14  * CasADi is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  * Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public
20  * License along with CasADi; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22  *
23  */
24 
25 
26  #include "kinsol_interface.hpp"
27  #include <string>
28 
29  const std::string casadi::KinsolInterface::meta_doc=
30  "\n"
31 "\n"
32 "\n"
33 "KINSOL interface from the Sundials suite\n"
34 "\n"
35 "Extra doc: https://github.com/casadi/casadi/wiki/L_226 \n"
36 "\n"
37 "\n"
38 ">List of available options\n"
39 "\n"
40 "+---------------------------+-----------------+----------------------------+\n"
41 "| Id | Type | Description |\n"
42 "+===========================+=================+============================+\n"
43 "| abstol | OT_DOUBLE | Stopping criterion |\n"
44 "| | | tolerance |\n"
45 "+---------------------------+-----------------+----------------------------+\n"
46 "| disable_internal_warnings | OT_BOOL | Disable KINSOL internal |\n"
47 "| | | warning messages |\n"
48 "+---------------------------+-----------------+----------------------------+\n"
49 "| exact_jacobian | OT_BOOL | Use exact Jacobian |\n"
50 "| | | information |\n"
51 "+---------------------------+-----------------+----------------------------+\n"
52 "| f_scale | OT_DOUBLEVECTOR | Equation scaling factors |\n"
53 "+---------------------------+-----------------+----------------------------+\n"
54 "| iterative_solver | OT_STRING | gmres|bcgstab|tfqmr |\n"
55 "+---------------------------+-----------------+----------------------------+\n"
56 "| linear_solver_type | OT_STRING | dense|banded|iterative|use |\n"
57 "| | | r_defined |\n"
58 "+---------------------------+-----------------+----------------------------+\n"
59 "| lower_bandwidth | OT_INT | Lower bandwidth for banded |\n"
60 "| | | linear solvers |\n"
61 "+---------------------------+-----------------+----------------------------+\n"
62 "| max_iter | OT_INT | Maximum number of Newton |\n"
63 "| | | iterations. Putting 0 sets |\n"
64 "| | | the default value of |\n"
65 "| | | KinSol. |\n"
66 "+---------------------------+-----------------+----------------------------+\n"
67 "| max_krylov | OT_INT | Maximum Krylov space |\n"
68 "| | | dimension |\n"
69 "+---------------------------+-----------------+----------------------------+\n"
70 "| pretype | OT_STRING | Type of preconditioner |\n"
71 "+---------------------------+-----------------+----------------------------+\n"
72 "| print_level | OT_INT | Verbosity level |\n"
73 "+---------------------------+-----------------+----------------------------+\n"
74 "| strategy | OT_STRING | Globalization strategy |\n"
75 "+---------------------------+-----------------+----------------------------+\n"
76 "| u_scale | OT_DOUBLEVECTOR | Variable scaling factors |\n"
77 "+---------------------------+-----------------+----------------------------+\n"
78 "| upper_bandwidth | OT_INT | Upper bandwidth for banded |\n"
79 "| | | linear solvers |\n"
80 "+---------------------------+-----------------+----------------------------+\n"
81 "| use_preconditioner | OT_BOOL | Precondition an iterative |\n"
82 "| | | solver |\n"
83 "+---------------------------+-----------------+----------------------------+\n"
84 "\n"
85 "\n"
86 "\n"
87 "\n"
88 ;
static const std::string meta_doc
A documentation string.