Base class for all derived algorithms for detecting linearly dependent rows in the constraint Jacobian. More...
#include <IpTDependencyDetector.hpp>
Public Member Functions | |
virtual bool | InitializeImpl (const OptionsList &options, const std::string &prefix)=0 |
Has to be called to initialize and reset these 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. | |
Constructor/Destructor | |
TDependencyDetector () | |
virtual | ~TDependencyDetector () |
Private Member Functions | |
Default Compiler Generated Methods | |
TDependencyDetector (const TDependencyDetector &) | |
Copy Constructor. | |
void | operator= (const TDependencyDetector &) |
Overloaded Equals Operator. |
Base class for all derived algorithms for detecting linearly dependent rows in the constraint Jacobian.
Definition at line 20 of file IpTDependencyDetector.hpp.
Ipopt::TDependencyDetector::TDependencyDetector | ( | ) | [inline] |
Definition at line 25 of file IpTDependencyDetector.hpp.
virtual Ipopt::TDependencyDetector::~TDependencyDetector | ( | ) | [inline, virtual] |
Definition at line 28 of file IpTDependencyDetector.hpp.
Ipopt::TDependencyDetector::TDependencyDetector | ( | const TDependencyDetector & | ) | [private] |
Copy Constructor.
virtual bool Ipopt::TDependencyDetector::InitializeImpl | ( | const OptionsList & | options, | |
const std::string & | prefix | |||
) | [pure virtual] |
Has to be called to initialize and reset these objects.
Implements Ipopt::AlgorithmStrategyObject.
Implemented in Ipopt::Ma28TDependencyDetector, and Ipopt::TSymDependencyDetector.
virtual bool Ipopt::TDependencyDetector::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 | |||
) | [pure virtual] |
Method determining the number of linearly dependent rows in the matrix and the indices of those rows.
We assume that the matrix is available in "Triplet" format (MA28 format), and that the arrays given to this method can be modified internally, i.e., they are not used by the calling program anymore after this call. This method returns false if there was a problem with the underlying linear solver.
Implemented in Ipopt::Ma28TDependencyDetector, and Ipopt::TSymDependencyDetector.
void Ipopt::TDependencyDetector::operator= | ( | const TDependencyDetector & | ) | [private] |
Overloaded Equals Operator.
Reimplemented from Ipopt::AlgorithmStrategyObject.
Reimplemented in Ipopt::Ma28TDependencyDetector, and Ipopt::TSymDependencyDetector.