Ipopt Documentation  
 
Loading...
Searching...
No Matches
SensUtils.hpp File Reference
#include "IpUtils.hpp"
#include "IpAlgTypes.hpp"
#include "IpReturnCodes.hpp"
#include <string>

Go to the source code of this file.

Namespaces

namespace  Ipopt
 This file contains a base class for all exceptions and a set of macros to help with exceptions.
 

Macros

#define DECLARE_STD_SIPOPT_EXCEPTION(__except_type)
 

Enumerations

enum  Ipopt::SensAlgorithmExitStatus { Ipopt::SOLVE_SUCCESS , Ipopt::FATAL_ERROR }
 

Functions

SIPOPTLIB_EXPORT Index Ipopt::AsIndexMax (Index length, const Index *x, Index Incr)
 
SIPOPTLIB_EXPORT Index Ipopt::AsIndexSum (Index length, const Index *x, Index Incr)
 
SIPOPTLIB_EXPORT void Ipopt::append_Index (std::string &str, Index idx)
 
SIPOPTLIB_EXPORT SolverReturn Ipopt::AppReturn2SolverReturn (ApplicationReturnStatus ipopt_retval)
 

Macro Definition Documentation

◆ DECLARE_STD_SIPOPT_EXCEPTION

#define DECLARE_STD_SIPOPT_EXCEPTION (   __except_type)
Value:
class SIPOPTLIB_EXPORT __except_type : public Ipopt::IpoptException \
{ \
public: \
__except_type(const std::string& msg, const std::string& fname, Ipopt::Index line) \
: Ipopt::IpoptException(msg,fname,line, #__except_type) {} \
__except_type(const __except_type& copy) \
: Ipopt::IpoptException(copy) {} \
private: \
__except_type(); \
void operator=(const __except_type&); \
}
This is the base class for all exceptions.
void operator=(const IpoptException &)
Default Assignment Operator.
ipindex Index
Type of all indices of vectors, matrices etc.
Definition IpTypes.hpp:20

Definition at line 50 of file SensUtils.hpp.