#ifndef RLV_H #define RLV_H //代码 //////////////////////*头文件包含部分*///////////////////////////////////// #include "program.hpp" #include #include #include #include using namespace arma; using namespace std; using namespace Ipopt; // 内置函数 int Dynamics123(mat* StateVar, mat* ControlVar, auxdata1 auxdata, mat* dState, mat* integrand, mat* path); int Dynamics123(cx_mat* StateVar, mat* ControlVar, auxdata1 auxdata, mat* dState, mat* integrand, mat* path); int Dynamics123(mat* StateVar, cx_mat* ControlVar, auxdata1 auxdata, mat* dState, mat* integrand, mat* path); int Objective123(input0* input, double* output, mat* event); #endif #pragma once