ipqp_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 "ipqp.hpp"
27  #include <string>
28 
29  const std::string casadi::Ipqp::meta_doc=
30  "\n"
31 "\n"
32 "\n"
33 "Solves QPs using a Mehrotra predictor-corrector interior point method\n"
34 "\n"
35 "Extra doc: https://github.com/casadi/casadi/wiki/L_23c \n"
36 "\n"
37 "\n"
38 ">List of available options\n"
39 "\n"
40 "+-----------------------+-----------+--------------------------------------+\n"
41 "| Id | Type | Description |\n"
42 "+=======================+===========+======================================+\n"
43 "| constr_viol_tol | OT_DOUBLE | Constraint violation tolerance |\n"
44 "| | | [1e-8]. |\n"
45 "+-----------------------+-----------+--------------------------------------+\n"
46 "| dual_inf_tol | OT_DOUBLE | Dual feasibility violation tolerance |\n"
47 "| | | [1e-8] |\n"
48 "+-----------------------+-----------+--------------------------------------+\n"
49 "| linear_solver | OT_STRING | A custom linear solver creator |\n"
50 "| | | function [default: ldl] |\n"
51 "+-----------------------+-----------+--------------------------------------+\n"
52 "| linear_solver_options | OT_DICT | Options to be passed to the linear |\n"
53 "| | | solver |\n"
54 "+-----------------------+-----------+--------------------------------------+\n"
55 "| max_iter | OT_INT | Maximum number of iterations [1000]. |\n"
56 "+-----------------------+-----------+--------------------------------------+\n"
57 "| min_lam | OT_DOUBLE | Smallest multiplier treated as |\n"
58 "| | | inactive for the initial active set |\n"
59 "| | | [0]. |\n"
60 "+-----------------------+-----------+--------------------------------------+\n"
61 "| print_header | OT_BOOL | Print header [true]. |\n"
62 "+-----------------------+-----------+--------------------------------------+\n"
63 "| print_info | OT_BOOL | Print info [true]. |\n"
64 "+-----------------------+-----------+--------------------------------------+\n"
65 "| print_iter | OT_BOOL | Print iterations [true]. |\n"
66 "+-----------------------+-----------+--------------------------------------+\n"
67 "\n"
68 "\n"
69 "\n"
70 "\n"
71 ;
static const std::string meta_doc
A documentation string.
Definition: ipqp.hpp:103