qrsqp_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 "qrsqp.hpp"
27  #include <string>
28 
29  const std::string casadi::Qrsqp::meta_doc=
30  "\n"
31 "\n"
32 "\n"
33 "A textbook SQPMethod\n"
34 "\n"
35 "Extra doc: https://github.com/casadi/casadi/wiki/L_22u \n"
36 "\n"
37 "\n"
38 ">List of available options\n"
39 "\n"
40 "+-----------------------+-----------+--------------------------------------+\n"
41 "| Id | Type | Description |\n"
42 "+=======================+===========+======================================+\n"
43 "| beta | OT_DOUBLE | Line-search parameter, restoration |\n"
44 "| | | factor of stepsize |\n"
45 "+-----------------------+-----------+--------------------------------------+\n"
46 "| c1 | OT_DOUBLE | Armijo condition, coefficient of |\n"
47 "| | | decrease in merit |\n"
48 "+-----------------------+-----------+--------------------------------------+\n"
49 "| hessian_approximation | OT_STRING | limited-memory|exact |\n"
50 "+-----------------------+-----------+--------------------------------------+\n"
51 "| lbfgs_memory | OT_INT | Size of L-BFGS memory. |\n"
52 "+-----------------------+-----------+--------------------------------------+\n"
53 "| max_iter | OT_INT | Maximum number of SQP iterations |\n"
54 "+-----------------------+-----------+--------------------------------------+\n"
55 "| max_iter_ls | OT_INT | Maximum number of linesearch |\n"
56 "| | | iterations |\n"
57 "+-----------------------+-----------+--------------------------------------+\n"
58 "| merit_memory | OT_INT | Size of memory to store history of |\n"
59 "| | | merit function values |\n"
60 "+-----------------------+-----------+--------------------------------------+\n"
61 "| min_iter | OT_INT | Minimum number of SQP iterations |\n"
62 "+-----------------------+-----------+--------------------------------------+\n"
63 "| min_step_size | OT_DOUBLE | The size (inf-norm) of the step size |\n"
64 "| | | should not become smaller than this. |\n"
65 "+-----------------------+-----------+--------------------------------------+\n"
66 "| print_header | OT_BOOL | Print the header with problem |\n"
67 "| | | statistics |\n"
68 "+-----------------------+-----------+--------------------------------------+\n"
69 "| print_iteration | OT_BOOL | Print the iterations |\n"
70 "+-----------------------+-----------+--------------------------------------+\n"
71 "| qpsol | OT_STRING | The QP solver to be used by the SQP |\n"
72 "| | | method [qrqp] |\n"
73 "+-----------------------+-----------+--------------------------------------+\n"
74 "| qpsol_options | OT_DICT | Options to be passed to the QP |\n"
75 "| | | solver |\n"
76 "+-----------------------+-----------+--------------------------------------+\n"
77 "| regularize | OT_BOOL | Automatic regularization of Lagrange |\n"
78 "| | | Hessian. |\n"
79 "+-----------------------+-----------+--------------------------------------+\n"
80 "| tol_du | OT_DOUBLE | Stopping criterion for dual |\n"
81 "| | | infeasability |\n"
82 "+-----------------------+-----------+--------------------------------------+\n"
83 "| tol_pr | OT_DOUBLE | Stopping criterion for primal |\n"
84 "| | | infeasibility |\n"
85 "+-----------------------+-----------+--------------------------------------+\n"
86 "\n"
87 "\n"
88 "\n"
89 "\n"
90 ;
static const std::string meta_doc
A documentation string.
Definition: qrsqp.hpp:182