- Main Page
- Classes
- Files

- File List
- File Members

# contrib/sIPOPT/src/SensUtils.hpp

Go to the documentation of this file.

    00001 // Copyright 2009, 2011 Hans Pirnay
    00002 // All Rights Reserved.
    00003 // This code is published under the Eclipse Public License.
    00004 //
    00005 // Date   : 2009-05-14
    00006
    00007
    00008 #ifndef __SENSCUTILS_HPP__
    00009 #define __SENSCUTILS_HPP__
    00010
    00011 #include "IpUtils.hpp"
    00012 #include <string>
    00013 #include "IpAlgTypes.hpp"
    00014 #include "IpReturnCodes.hpp"
    00015
    00016 namespace Ipopt
    00017 {
    00018
    00022   enum SensAlgorithmExitStatus{
    00023     SOLVE_SUCCESS,
    00024     FATAL_ERROR
    00025   };
    00026
    00027   Index AsIndexMax(Index length, const Index* x, Index Incr);
    00028
    00029   Index AsIndexSum(Index length, const Index* x, Index Incr);
    00030
    00031   void append_Index(std::string& str, Index idx);
    00032
    00033   SolverReturn AppReturn2SolverReturn(ApplicationReturnStatus ipopt_retval);
    00034 }
    00035
    00036 #endif

All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines