Ipopt Documentation  
IpTSymDependencyDetector.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 // Authors: Andreas Waechter IBM 2007-04-18
6 
7 #ifndef __IPTSYMDEPENDENCYDETECTOR_HPP__
8 #define __IPTSYMDEPENDENCYDETECTOR_HPP__
9 
11 #include "IpTSymLinearSolver.hpp"
12 
13 namespace Ipopt
14 {
15 
20 {
21 public:
25  TSymLinearSolver& tsym_linear_solver);
26 
28  { }
30 
32  virtual bool InitializeImpl(
33  const OptionsList& options,
34  const std::string& prefix
35  );
36 
48  virtual bool DetermineDependentRows(
49  Index n_rows,
50  Index n_cols,
51  Index n_jac_nz,
52  Number* jac_c_vals,
53  Index* jac_c_iRow,
54  Index* jac_c_jCol,
55  std::list<Index>& c_deps
56  );
57 
59  static void RegisterOptions(
61  );
62 
63 private:
74 
78  );
79 
81  void operator=(
83  );
85 
87 
89 };
90 
91 } // namespace Ipopt
92 
93 #endif
Ipopt::TSymDependencyDetector::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::TSymDependencyDetector::TSymDependencyDetector
TSymDependencyDetector()
Default Constructor.
IpTSymLinearSolver.hpp
Ipopt::TDependencyDetector
Base class for all derived algorithms for detecting linearly dependent rows in the constraint Jacobia...
Definition: IpTDependencyDetector.hpp:20
Ipopt
This file contains a base class for all exceptions and a set of macros to help with exceptions.
Definition: IpInexactAlgBuilder.hpp:14
Ipopt::Number
double Number
Type of all numbers.
Definition: IpTypes.hpp:15
Ipopt::TSymDependencyDetector::operator=
void operator=(const TSymDependencyDetector &)
Default Assignment Operator.
Ipopt::TSymDependencyDetector::tsym_linear_solver_
SmartPtr< TSymLinearSolver > tsym_linear_solver_
Definition: IpTSymDependencyDetector.hpp:88
Ipopt::TSymDependencyDetector::jnlst_
SmartPtr< const Journalist > jnlst_
Definition: IpTSymDependencyDetector.hpp:86
Ipopt::Index
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:17
IpTDependencyDetector.hpp
Ipopt::SmartPtr
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:172
Ipopt::TSymDependencyDetector::InitializeImpl
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
Has to be called to initialize and reset these objects.
Ipopt::TSymDependencyDetector::TSymDependencyDetector
TSymDependencyDetector(TSymLinearSolver &tsym_linear_solver)
Ipopt::TSymLinearSolver
General driver for linear solvers for sparse indefinite symmetric matrices.
Definition: IpTSymLinearSolver.hpp:34
Ipopt::TSymDependencyDetector
Base class for all derived algorithms for detecting linearly dependent rows in the constraint Jacobia...
Definition: IpTSymDependencyDetector.hpp:20
Ipopt::TSymDependencyDetector::RegisterOptions
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
This must be called to make the options for this class known.
Ipopt::TSymDependencyDetector::TSymDependencyDetector
TSymDependencyDetector(const TSymDependencyDetector &)
Copy Constructor.
Ipopt::OptionsList
This class stores a list of user set options.
Definition: IpOptionsList.hpp:33
Ipopt::TSymDependencyDetector::~TSymDependencyDetector
virtual ~TSymDependencyDetector()
Definition: IpTSymDependencyDetector.hpp:27