Ipopt  3.11.9
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 
21  {
22  public:
26  {}
27 
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:
62 
66 
67  };
68 
69 } // namespace Ipopt
70 
71 #endif
Ipopt::TDependencyDetector::~TDependencyDetector
virtual ~TDependencyDetector()
Definition: IpTDependencyDetector.hpp:28
Ipopt::TDependencyDetector
Base class for all derived algorithms for detecting linearly dependent rows in the constraint Jacobia...
Definition: IpTDependencyDetector.hpp:21
Ipopt
Definition: matlabjournal.hpp:14
Ipopt::Number
double Number
Type of all numbers.
Definition: IpTypes.hpp:17
Ipopt::TDependencyDetector::TDependencyDetector
TDependencyDetector()
Definition: IpTDependencyDetector.hpp:25
Ipopt::TDependencyDetector::InitializeImpl
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
Has to be called to initialize and reset these objects.
Ipopt::Index
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:19
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::AlgorithmStrategyObject
This is the base class for all algorithm strategy objects.
Definition: IpAlgStrategy.hpp:36
IpAlgStrategy.hpp
Ipopt::TDependencyDetector::operator=
void operator=(const TDependencyDetector &)
Overloaded Equals Operator.
Ipopt::TDependencyDetector::TDependencyDetector
TDependencyDetector(const TDependencyDetector &)
Copy Constructor.
Ipopt::OptionsList
This class stores a list of user set options.
Definition: IpOptionsList.hpp:33