Ipopt Documentation  
 
Loading...
Searching...
No Matches
IpTypes.hpp
Go to the documentation of this file.
1// Copyright (C) 2004, 2006 International Business Machines and others.
2// All Rights Reserved.
3// This code is published under the Eclipse Public License.
4//
5// Authors: Carl Laird, Andreas Waechter IBM 2004-08-13
6
7#ifndef __IPTYPES_HPP__
8#define __IPTYPES_HPP__
9
10#include "IpoptConfig.h"
11
12namespace Ipopt
13{
15typedef double Number;
17typedef int Index;
19typedef int Int;
20
21} // namespace Ipopt
22
23/* Type of Fortran integer translated into C */
25
26#endif
IPOPT_FORTRAN_INTEGER_TYPE ipfint
Definition: IpTypes.hpp:24
#define IPOPT_FORTRAN_INTEGER_TYPE
This file contains a base class for all exceptions and a set of macros to help with exceptions.
int Int
Type of default integer.
Definition: IpTypes.hpp:19
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:17
double Number
Type of all numbers.
Definition: IpTypes.hpp:15