Ipopt 3.11.9
Loading...
Searching...
No Matches
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
16namespace Ipopt
17{
18
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
ApplicationReturnStatus
Return codes for the Optimize call for an application.
Number * x
Input: Starting point Output: Optimal solution.
SolverReturn AppReturn2SolverReturn(ApplicationReturnStatus ipopt_retval)
Index AsIndexSum(Index length, const Index *x, Index Incr)
SolverReturn
enum for the return from the optimize algorithm (obviously we need to add more)
void append_Index(std::string &str, Index idx)
int Index
Type of all indices of vectors, matrices etc.
Definition IpTypes.hpp:19
Index AsIndexMax(Index length, const Index *x, Index Incr)
SensAlgorithmExitStatus
This header file provides some definitions used throughout the program.
Definition SensUtils.hpp:22
@ SOLVE_SUCCESS
Definition SensUtils.hpp:23
@ FATAL_ERROR
Definition SensUtils.hpp:24