CppAD: A C++ Algorithmic Differentiation Package
20130102
|
00001 /* $Id$ */ 00002 # ifndef CPPAD_JAC_G_MAP_INCLUDED 00003 # define CPPAD_JAC_G_MAP_INCLUDED 00004 /* -------------------------------------------------------------------------- 00005 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell 00006 00007 CppAD is distributed under multiple licenses. This distribution is under 00008 the terms of the 00009 Eclipse Public License Version 1.0. 00010 00011 A copy of this license is included in the COPYING file of this distribution. 00012 Please visit http://www.coin-or.org/CppAD/ for information on other licenses. 00013 -------------------------------------------------------------------------- */ 00014 # include "cppad_ipopt_nlp.hpp" 00015 /*! 00016 \file jac_g_map.hpp 00017 \brief Create a mapping between two representations for Jacobian of g. 00018 00019 \ingroup jac_g_map_cpp 00020 */ 00021 // --------------------------------------------------------------------------- 00022 namespace cppad_ipopt { 00023 // --------------------------------------------------------------------------- 00024 00025 00026 extern void jac_g_map( 00027 cppad_ipopt_fg_info* fg_info , 00028 size_t m , 00029 size_t n , 00030 size_t K , 00031 const CppAD::vector<size_t>& L , 00032 const CppAD::vector<size_t>& p , 00033 const CppAD::vector<size_t>& q , 00034 const CppAD::vector<CppAD::vectorBool>& pattern_jac_r , 00035 CppAD::vector<size_t>& I , 00036 CppAD::vector<size_t>& J , 00037 CppAD::vector< std::map<size_t,size_t> >& index_jac_g 00038 ); 00039 00040 // --------------------------------------------------------------------------- 00041 } // end namespace cppad_ipopt 00042 // --------------------------------------------------------------------------- 00043 00044 # endif