00001 // Copyright (C) 2004, 2006 International Business Machines and others. 00002 // All Rights Reserved. 00003 // This code is published under the Eclipse Public License. 00004 // 00005 // $Id: IpTypes.hpp 2005 2011-06-06 12:55:16Z stefan $ 00006 // 00007 // Authors: Carl Laird, Andreas Waechter IBM 2004-08-13 00008 00009 #ifndef __IPTYPES_HPP__ 00010 #define __IPTYPES_HPP__ 00011 00012 #include "IpoptConfig.h" 00013 00014 namespace Ipopt 00015 { 00017 typedef double Number; 00019 typedef int Index; 00021 typedef int Int; 00022 00023 } // namespace Ipopt 00024 00025 /* Type of Fortran integer translated into C */ 00026 typedef FORTRAN_INTEGER_TYPE ipfint; 00027 00028 #endif