Apollo 11.0
自动驾驶开放平台
qp_problem.proto
浏览该文件的文档.
1syntax = "proto2";
2
3package apollo.planning;
4
5// create the quadratic programming proto
6// 1/2 x^T Q x + c^T x
7// w.r.t
8// A x = b
9// C x >= d
10// specified input: input_marker
11// as well as optimal solution optimal param
12
14 optional int32 param_size = 1; // specified parameter size
15 optional QPMatrix quadratic_matrix = 2; // Q matrix
16 repeated double bias = 3; // c
17 optional QPMatrix equality_matrix = 4; // A matrix
18 repeated double equality_value = 5; // b vector
19 optional QPMatrix inequality_matrix = 6; // C matrix
20 repeated double inequality_value = 7; // d vector
21 repeated double input_marker = 8; // marker for the specified matrix
22 repeated double optimal_param = 9; // optimal result
23};
24
25message QPMatrix {
26 optional int32 row_size = 1;
27 optional int32 col_size = 2;
28 // element with element(col_size * r + c)
29 repeated double element = 3;
30}
31
33 repeated QuadraticProgrammingProblem problem = 1; // QPProblem
34}
syntax