scpgen_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 "scpgen.hpp"
27  #include <string>
28 
29  const std::string casadi::Scpgen::meta_doc=
30  "\n"
31 "\n"
32 "\n"
33 "A structure-exploiting sequential quadratic programming (to be come \n"
34 "sequential convex programming) method for nonlinear programming.\n"
35 "\n"
36 "Extra doc: https://github.com/casadi/casadi/wiki/L_232 \n"
37 "\n"
38 "\n"
39 ">List of available options\n"
40 "\n"
41 "+-----------------------+-----------------+--------------------------------+\n"
42 "| Id | Type | Description |\n"
43 "+=======================+=================+================================+\n"
44 "| beta | OT_DOUBLE | Line-search parameter, |\n"
45 "| | | restoration factor of stepsize |\n"
46 "+-----------------------+-----------------+--------------------------------+\n"
47 "| c1 | OT_DOUBLE | Armijo condition, coefficient |\n"
48 "| | | of decrease in merit |\n"
49 "+-----------------------+-----------------+--------------------------------+\n"
50 "| codegen | OT_BOOL | C-code generation |\n"
51 "+-----------------------+-----------------+--------------------------------+\n"
52 "| hessian_approximation | OT_STRING | gauss-newton|exact |\n"
53 "+-----------------------+-----------------+--------------------------------+\n"
54 "| lbfgs_memory | OT_INT | Size of L-BFGS memory. |\n"
55 "+-----------------------+-----------------+--------------------------------+\n"
56 "| max_iter | OT_INT | Maximum number of SQP |\n"
57 "| | | iterations |\n"
58 "+-----------------------+-----------------+--------------------------------+\n"
59 "| max_iter_ls | OT_INT | Maximum number of linesearch |\n"
60 "| | | iterations |\n"
61 "+-----------------------+-----------------+--------------------------------+\n"
62 "| merit_memsize | OT_INT | Size of memory to store |\n"
63 "| | | history of merit function |\n"
64 "| | | values |\n"
65 "+-----------------------+-----------------+--------------------------------+\n"
66 "| merit_start | OT_DOUBLE | Lower bound for the merit |\n"
67 "| | | function parameter |\n"
68 "+-----------------------+-----------------+--------------------------------+\n"
69 "| name_x | OT_STRINGVECTOR | Names of the variables. |\n"
70 "+-----------------------+-----------------+--------------------------------+\n"
71 "| print_header | OT_BOOL | Print the header with problem |\n"
72 "| | | statistics |\n"
73 "+-----------------------+-----------------+--------------------------------+\n"
74 "| print_x | OT_INTVECTOR | Which variables to print. |\n"
75 "+-----------------------+-----------------+--------------------------------+\n"
76 "| qpsol | OT_STRING | The QP solver to be used by |\n"
77 "| | | the SQP method |\n"
78 "+-----------------------+-----------------+--------------------------------+\n"
79 "| qpsol_options | OT_DICT | Options to be passed to the QP |\n"
80 "| | | solver |\n"
81 "+-----------------------+-----------------+--------------------------------+\n"
82 "| reg_threshold | OT_DOUBLE | Threshold for the |\n"
83 "| | | regularization. |\n"
84 "+-----------------------+-----------------+--------------------------------+\n"
85 "| regularize | OT_BOOL | Automatic regularization of |\n"
86 "| | | Lagrange Hessian. |\n"
87 "+-----------------------+-----------------+--------------------------------+\n"
88 "| tol_du | OT_DOUBLE | Stopping criterion for dual |\n"
89 "| | | infeasability |\n"
90 "+-----------------------+-----------------+--------------------------------+\n"
91 "| tol_pr | OT_DOUBLE | Stopping criterion for primal |\n"
92 "| | | infeasibility |\n"
93 "+-----------------------+-----------------+--------------------------------+\n"
94 "| tol_pr_step | OT_DOUBLE | Stopping criterion for the |\n"
95 "| | | step size |\n"
96 "+-----------------------+-----------------+--------------------------------+\n"
97 "| tol_reg | OT_DOUBLE | Stopping criterion for |\n"
98 "| | | regularization |\n"
99 "+-----------------------+-----------------+--------------------------------+\n"
100 "\n"
101 "\n"
102 "\n"
103 "\n"
104 ;
static const std::string meta_doc
A documentation string.
Definition: scpgen.hpp:272