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