1 #ifndef CPPAD_CG_DAE_INDEX_REDUCTION_INCLUDED
2 #define CPPAD_CG_DAE_INDEX_REDUCTION_INCLUDED
18 #include <cppad/cg/cppadcg.hpp>
19 #include <cppad/cg/dae_index_reduction/dae_var_info.hpp>
20 #include <cppad/cg/dae_index_reduction/dae_equation_info.hpp>
21 #include <cppad/cg/dae_index_reduction/simple_logger.hpp>
67 virtual std::unique_ptr<ADFun<CG<Base>>>
reduceIndex(std::vector<DaeVarInfo>& newVarInfo,
68 std::vector<DaeEquationInfo>& equationInfo) = 0;
DaeIndexReduction(ADFun< CG< Base > > &fun)
ADFun< CG< Base > > *const fun_
virtual std::unique_ptr< ADFun< CG< Base > > > reduceIndex(std::vector< DaeVarInfo > &newVarInfo, std::vector< DaeEquationInfo > &equationInfo)=0
ADFun< CG< Base > > & getOriginalModel() const