CppAD: A C++ Algorithmic Differentiation Package 20110419
|
00001 /* $Id$ */ 00002 # ifndef CPPAD_HES_FG_MAP_INCLUDED 00003 # define CPPAD_HES_FG_MAP_INCLUDED 00004 /* -------------------------------------------------------------------------- 00005 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell 00006 00007 CppAD is distributed under multiple licenses. This distribution is under 00008 the terms of the 00009 Common 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 CPPAD_BEGIN_NAMESPACE 00016 /*! 00017 \file hes_fg_map.hpp 00018 \brief Create a mapping between two representations for Hessian of fg. 00019 */ 00020 00021 extern void hes_fg_map( 00022 cppad_ipopt_fg_info* fg_info , 00023 size_t m , 00024 size_t n , 00025 size_t K , 00026 const CppAD::vector<size_t>& L , 00027 const CppAD::vector<size_t>& p , 00028 const CppAD::vector<size_t>& q , 00029 const CppAD::vector<CppAD::vectorBool>& pattern_hes_r , 00030 CppAD::vector<size_t>& I , 00031 CppAD::vector<size_t>& J , 00032 CppAD::vector< std::map<size_t,size_t> >& index_hes_fg 00033 ); 00034 00035 CPPAD_END_NAMESPACE 00036 # endif