26 #include "fatrop_conic_interface.hpp"
32 "Interface to Fatrop Solver\n"
34 "In order to use this interface, you must:\n"
38 "- Decision variables must only by state and control, and the variable ordering must be [x0 u0 x1 u1...]\n"
39 "- The constraints must be in order: [gap0 lincon0 gap1 lincon1] gap: Ak+1 = Ak xk + Bk uk lincon: yk= Ck xk + Dk uk\n"
54 "where I must be a diagonal sparse matrix\n"
56 "- Either supply all of N, nx, ng, nu options or rely on automatic detection Extra doc: https://github.com/casadi/casadi/wiki/L_27g\n"
61 ">List of available options\n"
63 "+---------------------+--------------+-------------------------------------+\n"
64 "| Id | Type | Description |\n"
65 "+=====================+==============+=====================================+\n"
66 "| N | OT_INT | OCP horizon |\n"
67 "+---------------------+--------------+-------------------------------------+\n"
68 "| fatrop | OT_DICT | Options to be passed to fatrop |\n"
69 "+---------------------+--------------+-------------------------------------+\n"
70 "| ng | OT_INTVECTOR | Number of non-dynamic constraints, |\n"
71 "| | | length N+1 |\n"
72 "+---------------------+--------------+-------------------------------------+\n"
73 "| nu | OT_INTVECTOR | Number of controls, length N |\n"
74 "+---------------------+--------------+-------------------------------------+\n"
75 "| nx | OT_INTVECTOR | Number of states, length N+1 |\n"
76 "+---------------------+--------------+-------------------------------------+\n"
77 "| structure_detection | OT_STRING | NONE | auto | manual |\n"
78 "+---------------------+--------------+-------------------------------------+\n"
static const std::string meta_doc
A documentation string.