Ipopt 3.12.10

- Main Page
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
IpMa28TDependencyDetector.hpp
Go to the documentation of this file.
1 // Copyright (C) 2007 International Business Machines and others.
2 // All Rights Reserved.
3 // This code is published under the Eclipse Public License.
4 //
5 // $Id: IpMa28TDependencyDetector.hpp 1861 2010-12-21 21:34:47Z andreasw $
6 //
7 // Authors: Andreas Waechter IBM 2007-04-17
8
9 #ifndef __IPMA28TDEPENDENCYDETECTOR_HPP__
10 #define __IPMA28TDEPENDENCYDETECTOR_HPP__
11
12 #include "IpTDependencyDetector.hpp"
13
14 namespace Ipopt
15 {
16
19 class Ma28TDependencyDetector: public TDependencyDetector
20 {
21 public:
24 Ma28TDependencyDetector();
25
26 virtual ~Ma28TDependencyDetector()
27 {}
29
31 virtual bool InitializeImpl(const OptionsList& options,
32 const std::string& prefix);
33
42 virtual bool DetermineDependentRows(Index n_rows, Index n_cols,
43 Index n_jac_nz,
44 Number* jac_c_vals,
45 Index* jac_c_iRow,
46 Index* jac_c_jCol,
47 std::list<Index>& c_deps);
48
51 static void RegisterOptions(SmartPtr<RegisteredOptions> roptions);
52
53 private:
63 Ma28TDependencyDetector(const Ma28TDependencyDetector&);
64
66 void operator=(const Ma28TDependencyDetector&);
68
69 SmartPtr<const Journalist> jnlst_;
70
74 Number ma28_pivtol_;
76 };
77
78 } // namespace Ipopt
79
80 #endif
Ipopt::Ma28TDependencyDetector
Base class for all derived algorithms for detecting linearly dependent rows in the constraint Jacobia...
Definition: IpMa28TDependencyDetector.hpp:19
Ipopt::Number
double Number
Type of all numbers.
Definition: IpTypes.hpp:17
Ipopt::SmartPtr
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:172
Ipopt::Ma28TDependencyDetector::~Ma28TDependencyDetector
virtual ~Ma28TDependencyDetector()
Definition: IpMa28TDependencyDetector.hpp:26
Ipopt::OptionsList
This class stores a list of user set options.
Definition: IpOptionsList.hpp:32
Ipopt::Ma28TDependencyDetector::InitializeImpl
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
Has to be called to initialize and reset these objects.
IpTDependencyDetector.hpp
Ipopt::Index
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:19
Ipopt::Ma28TDependencyDetector::jnlst_
SmartPtr< const Journalist > jnlst_
Definition: IpMa28TDependencyDetector.hpp:69
Ipopt::TDependencyDetector
Base class for all derived algorithms for detecting linearly dependent rows in the constraint Jacobia...
Definition: IpTDependencyDetector.hpp:20
Ipopt::Ma28TDependencyDetector::Ma28TDependencyDetector
Ma28TDependencyDetector()
Ipopt::Ma28TDependencyDetector::ma28_pivtol_
Number ma28_pivtol_
Pivot tolerance for MA28.
Definition: IpMa28TDependencyDetector.hpp:74
Ipopt::Ma28TDependencyDetector::operator=
void operator=(const Ma28TDependencyDetector &)
Overloaded Equals Operator.
Ipopt::Ma28TDependencyDetector::DetermineDependentRows
virtual bool DetermineDependentRows(Index n_rows, Index n_cols, Index n_jac_nz, Number *jac_c_vals, Index *jac_c_iRow, Index *jac_c_jCol, std::list< Index > &c_deps)
Method determining the number of linearly dependent rows in the matrix and the indices of those rows...
Ipopt::Ma28TDependencyDetector::RegisterOptions
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
This must be called to make the options for this class known.