26 #include "hpmpc_interface.hpp"
33 "Interface to HMPC Solver\n"
35 "In order to use this interface, you must:\n"
39 "- Decision variables must only by state and control, and the variable ordering must be [x0 u0 x1 u1...]\n"
40 "- The constraints must be in order: [gap0 lincon0 gap1 lincon1] gap: Ak+1 = Ak xk + Bk uk lincon: yk= Ck xk + Dk uk\n"
55 "where I must be a diagonal sparse matrix\n"
57 "- Either supply all of N, nx, ng, nu options or rely on automatic detection Extra doc: https://github.com/casadi/casadi/wiki/L_22p\n"
62 ">List of available options\n"
64 "+----------------+--------------+------------------------------------------+\n"
65 "| Id | Type | Description |\n"
66 "+================+==============+==========================================+\n"
67 "| N | OT_INT | OCP horizon |\n"
68 "+----------------+--------------+------------------------------------------+\n"
69 "| blasfeo_target | OT_STRING | hpmpc target |\n"
70 "+----------------+--------------+------------------------------------------+\n"
71 "| inf | OT_DOUBLE | HPMPC cannot handle infinities. |\n"
72 "| | | Infinities will be replaced by this |\n"
73 "| | | option's value. |\n"
74 "+----------------+--------------+------------------------------------------+\n"
75 "| max_iter | OT_INT | Max number of iterations |\n"
76 "+----------------+--------------+------------------------------------------+\n"
77 "| mu0 | OT_DOUBLE | Max element in cost function as estimate |\n"
78 "| | | of max multiplier |\n"
79 "+----------------+--------------+------------------------------------------+\n"
80 "| ng | OT_INTVECTOR | Number of non-dynamic constraints, |\n"
81 "| | | length N+1 |\n"
82 "+----------------+--------------+------------------------------------------+\n"
83 "| nu | OT_INTVECTOR | Number of controls, length N |\n"
84 "+----------------+--------------+------------------------------------------+\n"
85 "| nx | OT_INTVECTOR | Number of states, length N+1 |\n"
86 "+----------------+--------------+------------------------------------------+\n"
87 "| print_level | OT_INT | Amount of diagnostic printing [Default: |\n"
89 "+----------------+--------------+------------------------------------------+\n"
90 "| target | OT_STRING | hpmpc target |\n"
91 "+----------------+--------------+------------------------------------------+\n"
92 "| tol | OT_DOUBLE | Tolerance in the duality measure |\n"
93 "+----------------+--------------+------------------------------------------+\n"
94 "| warm_start | OT_BOOL | Use warm-starting |\n"
95 "+----------------+--------------+------------------------------------------+\n"
static const std::string meta_doc
A documentation string.