Ipopt 3.12.10

- Main Page
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SensUtils.hpp
Go to the documentation of this file.
1 // Copyright 2009, 2011 Hans Pirnay
2 // All Rights Reserved.
3 // This code is published under the Eclipse Public License.
4 //
5 // Date : 2009-05-14
6
7
8 #ifndef __SENSCUTILS_HPP__
9 #define __SENSCUTILS_HPP__
10
11 #include "IpUtils.hpp"
12 #include <string>
13 #include "IpAlgTypes.hpp"
14 #include "IpReturnCodes.hpp"
15
16 namespace Ipopt
17 {
18
22 enum SensAlgorithmExitStatus{
23 SOLVE_SUCCESS,
24 FATAL_ERROR
25 };
26
27 Index AsIndexMax(Index length, const Index* x, Index Incr);
28
29 Index AsIndexSum(Index length, const Index* x, Index Incr);
30
31 void append_Index(std::string& str, Index idx);
32
33 SolverReturn AppReturn2SolverReturn(ApplicationReturnStatus ipopt_retval);
34 }
35
36 #endif
x
Number * x
Input: Starting point Output: Optimal solution.
Definition: IpStdCInterface.h:238
Index
int Index
Type for all incides.
Definition: IpStdCInterface.h:37
Ipopt::AsIndexMax
Index AsIndexMax(Index length, const Index *x, Index Incr)
IpUtils.hpp
Ipopt::AsIndexSum
Index AsIndexSum(Index length, const Index *x, Index Incr)
IpReturnCodes.hpp
Ipopt::append_Index
void append_Index(std::string &str, Index idx)
Ipopt::AppReturn2SolverReturn
SolverReturn AppReturn2SolverReturn(ApplicationReturnStatus ipopt_retval)
Ipopt::SolverReturn
SolverReturn
enum for the return from the optimize algorithm (obviously we need to add more)
Definition: IpAlgTypes.hpp:22
Ipopt::SensAlgorithmExitStatus
SensAlgorithmExitStatus
This header file provides some definitions used throughout the program.
Definition: SensUtils.hpp:22
Ipopt::SOLVE_SUCCESS
Definition: SensUtils.hpp:23
IpAlgTypes.hpp
Ipopt::FATAL_ERROR
Definition: SensUtils.hpp:24
ApplicationReturnStatus
ApplicationReturnStatus
Return codes for the Optimize call for an application.
Definition: IpReturnCodes_inc.h:16