Ipopt  3.11.8
 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