Ipopt  3.12.13
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 
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 
34 }
35 
36 #endif
IpUtils.hpp
Ipopt::FATAL_ERROR
Definition: SensUtils.hpp:24
Ipopt::AsIndexSum
Index AsIndexSum(Index length, const Index *x, Index Incr)
IpAlgTypes.hpp
Ipopt
Definition: matlabjournal.hpp:14
IpReturnCodes.hpp
x
Number * x
Input: Starting point Output: Optimal solution.
Definition: IpStdCInterface.h:238
Ipopt::append_Index
void append_Index(std::string &str, Index idx)
ApplicationReturnStatus
ApplicationReturnStatus
Return codes for the Optimize call for an application.
Definition: IpReturnCodes_inc.h:15
Ipopt::SOLVE_SUCCESS
Definition: SensUtils.hpp:23
Ipopt::AsIndexMax
Index AsIndexMax(Index length, const Index *x, Index Incr)
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
Index
int Index
Type for all incides.
Definition: IpStdCInterface.h:36