Ipopt 3.12.10

- Main Page
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
IpTDependencyDetector.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: IpTDependencyDetector.hpp 1861 2010-12-21 21:34:47Z andreasw $
6 //
7 // Authors: Andreas Waechter IBM 2007-04-17
8
9 #ifndef __IPTDEPENDENCYDETECTOR_HPP__
10 #define __IPTDEPENDENCYDETECTOR_HPP__
11
12 #include "IpAlgStrategy.hpp"
13 #include <list>
14
15 namespace Ipopt
16 {
17
20 class TDependencyDetector: public AlgorithmStrategyObject
21 {
22 public:
25 TDependencyDetector()
26 {}
27
28 virtual ~TDependencyDetector()
29 {}
31
33 virtual bool InitializeImpl(const OptionsList& options,
34 const std::string& prefix) = 0;
35
44 virtual bool DetermineDependentRows(Index n_rows, Index n_cols,
45 Index n_jac_nz,
46 Number* jac_c_vals,
47 Index* jac_c_iRow,
48 Index* jac_c_jCol,
49 std::list<Index>& c_deps) = 0;
50
51 private:
61 TDependencyDetector(const TDependencyDetector&);
62
64 void operator=(const TDependencyDetector&);
66
67 };
68
69 } // namespace Ipopt
70
71 #endif
IpAlgStrategy.hpp
Ipopt::AlgorithmStrategyObject
This is the base class for all algorithm strategy objects.
Definition: IpAlgStrategy.hpp:35
Ipopt::TDependencyDetector::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)=0
Method determining the number of linearly dependent rows in the matrix and the indices of those rows...
Ipopt::Number
double Number
Type of all numbers.
Definition: IpTypes.hpp:17
Ipopt::TDependencyDetector::operator=
void operator=(const TDependencyDetector &)
Overloaded Equals Operator.
Ipopt::OptionsList
This class stores a list of user set options.
Definition: IpOptionsList.hpp:32
Ipopt::TDependencyDetector::~TDependencyDetector
virtual ~TDependencyDetector()
Definition: IpTDependencyDetector.hpp:28
Ipopt::Index
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:19
Ipopt::TDependencyDetector::TDependencyDetector
TDependencyDetector()
Definition: IpTDependencyDetector.hpp:25
Ipopt::TDependencyDetector
Base class for all derived algorithms for detecting linearly dependent rows in the constraint Jacobia...
Definition: IpTDependencyDetector.hpp:20
Ipopt::TDependencyDetector::InitializeImpl
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
Has to be called to initialize and reset these objects.