Austin Schuh | 16ce3c7 | 2018-01-28 16:17:08 -0800 | [diff] [blame^] | 1 | /************************************************************************************************** |
| 2 | * * |
| 3 | * This file is part of HPIPM. * |
| 4 | * * |
| 5 | * HPIPM -- High Performance Interior Point Method. * |
| 6 | * Copyright (C) 2017 by Gianluca Frison. * |
| 7 | * Developed at IMTEK (University of Freiburg) under the supervision of Moritz Diehl. * |
| 8 | * All rights reserved. * |
| 9 | * * |
| 10 | * HPMPC is free software; you can redistribute it and/or * |
| 11 | * modify it under the terms of the GNU Lesser General Public * |
| 12 | * License as published by the Free Software Foundation; either * |
| 13 | * version 2.1 of the License, or (at your option) any later version. * |
| 14 | * * |
| 15 | * HPMPC is distributed in the hope that it will be useful, * |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * |
| 18 | * See the GNU Lesser General Public License for more details. * |
| 19 | * * |
| 20 | * You should have received a copy of the GNU Lesser General Public * |
| 21 | * License along with HPMPC; if not, write to the Free Software * |
| 22 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * |
| 23 | * * |
| 24 | * Author: Gianluca Frison, gianluca.frison (at) imtek.uni-freiburg.de * |
| 25 | * * |
| 26 | **************************************************************************************************/ |
| 27 | |
| 28 | |
| 29 | |
| 30 | #if defined(RUNTIME_CHECKS) |
| 31 | #include <stdlib.h> |
| 32 | #endif |
| 33 | |
| 34 | #include <blasfeo_target.h> |
| 35 | #include <blasfeo_common.h> |
| 36 | #include <blasfeo_d_aux.h> |
| 37 | |
| 38 | #include "../include/hpipm_d_ocp_qp.h" |
| 39 | #include "../include/hpipm_d_ocp_qp_sol.h" |
| 40 | |
| 41 | |
| 42 | |
| 43 | #define CREATE_STRVEC d_create_strvec |
| 44 | #define CVT_STRVEC2VEC d_cvt_strvec2vec |
| 45 | #define OCP_QP d_ocp_qp |
| 46 | #define OCP_QP_SOL d_ocp_qp_sol |
| 47 | #define REAL double |
| 48 | #define STRVEC d_strvec |
| 49 | #define SIZE_STRVEC d_size_strvec |
| 50 | #define VECCP_LIBSTR dveccp_libstr |
| 51 | |
| 52 | #define CREATE_OCP_QP_SOL d_create_ocp_qp_sol |
| 53 | #define MEMSIZE_OCP_QP_SOL d_memsize_ocp_qp_sol |
| 54 | #define CVT_OCP_QP_SOL_TO_COLMAJ d_cvt_ocp_qp_sol_to_colmaj |
| 55 | #define CVT_OCP_QP_SOL_TO_ROWMAJ d_cvt_ocp_qp_sol_to_rowmaj |
| 56 | #define CVT_OCP_QP_SOL_TO_LIBSTR d_cvt_ocp_qp_sol_to_libstr |
| 57 | |
| 58 | |
| 59 | |
| 60 | #include "x_ocp_qp_sol.c" |