Ipopt  3.11.9
List of all members
Ipopt::Ma28TDependencyDetector Class Reference

Base class for all derived algorithms for detecting linearly dependent rows in the constraint Jacobian. More...

#include <IpMa28TDependencyDetector.hpp>

+ Inheritance diagram for Ipopt::Ma28TDependencyDetector:

Private Attributes

Algorithmic parameters
Number ma28_pivtol_
 Pivot tolerance for MA28. More...
 

Default Compiler Generated Methods

(Hidden to avoid implicit creation/calling).

These methods are not implemented and we do not want the compiler to implement them for us, so we declare them private and do not define them. This ensures that they will not be implicitly created/called.

SmartPtr< const Journalistjnlst_
 
 Ma28TDependencyDetector (const Ma28TDependencyDetector &)
 Copy Constructor. More...
 
void operator= (const Ma28TDependencyDetector &)
 Overloaded Equals Operator. More...
 

Constructor/Destructor

 Ma28TDependencyDetector ()
 
virtual ~Ma28TDependencyDetector ()
 
virtual bool InitializeImpl (const OptionsList &options, const std::string &prefix)
 Has to be called to initialize and reset these objects. More...
 
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. More...
 
static void RegisterOptions (SmartPtr< RegisteredOptions > roptions)
 This must be called to make the options for this class known. More...
 

Additional Inherited Members

- Public Member Functions inherited from Ipopt::TDependencyDetector
 TDependencyDetector ()
 
virtual ~TDependencyDetector ()
 
- Public Member Functions inherited from Ipopt::AlgorithmStrategyObject
 AlgorithmStrategyObject ()
 Default Constructor. More...
 
virtual ~AlgorithmStrategyObject ()
 Default Destructor. More...
 
bool Initialize (const Journalist &jnlst, IpoptNLP &ip_nlp, IpoptData &ip_data, IpoptCalculatedQuantities &ip_cq, const OptionsList &options, const std::string &prefix)
 This method is called every time the algorithm starts again - it is used to reset any internal state. More...
 
bool ReducedInitialize (const Journalist &jnlst, const OptionsList &options, const std::string &prefix)
 Reduced version of the Initialize method, which does not require special Ipopt information. More...
 
- Public Member Functions inherited from Ipopt::ReferencedObject
 ReferencedObject ()
 
virtual ~ReferencedObject ()
 
Index ReferenceCount () const
 
void AddRef (const Referencer *referencer) const
 
void ReleaseRef (const Referencer *referencer) const
 
- Protected Member Functions inherited from Ipopt::AlgorithmStrategyObject
const JournalistJnlst () const
 
IpoptNLPIpNLP () const
 
IpoptDataIpData () const
 
IpoptCalculatedQuantitiesIpCq () const
 
bool HaveIpData () const
 

Detailed Description

Base class for all derived algorithms for detecting linearly dependent rows in the constraint Jacobian.

Definition at line 19 of file IpMa28TDependencyDetector.hpp.

Constructor & Destructor Documentation

◆ Ma28TDependencyDetector() [1/2]

Ipopt::Ma28TDependencyDetector::Ma28TDependencyDetector ( )

◆ ~Ma28TDependencyDetector()

virtual Ipopt::Ma28TDependencyDetector::~Ma28TDependencyDetector ( )
inlinevirtual

Definition at line 26 of file IpMa28TDependencyDetector.hpp.

◆ Ma28TDependencyDetector() [2/2]

Ipopt::Ma28TDependencyDetector::Ma28TDependencyDetector ( const Ma28TDependencyDetector )
private

Copy Constructor.

Member Function Documentation

◆ InitializeImpl()

virtual bool Ipopt::Ma28TDependencyDetector::InitializeImpl ( const OptionsList options,
const std::string &  prefix 
)
virtual

Has to be called to initialize and reset these objects.

Implements Ipopt::TDependencyDetector.

◆ DetermineDependentRows()

virtual bool Ipopt::Ma28TDependencyDetector::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 
)
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.

Implements Ipopt::TDependencyDetector.

◆ RegisterOptions()

static void Ipopt::Ma28TDependencyDetector::RegisterOptions ( SmartPtr< RegisteredOptions roptions)
static

This must be called to make the options for this class known.

◆ operator=()

void Ipopt::Ma28TDependencyDetector::operator= ( const Ma28TDependencyDetector )
private

Overloaded Equals Operator.

Member Data Documentation

◆ jnlst_

SmartPtr<const Journalist> Ipopt::Ma28TDependencyDetector::jnlst_
private

Definition at line 69 of file IpMa28TDependencyDetector.hpp.

◆ ma28_pivtol_

Number Ipopt::Ma28TDependencyDetector::ma28_pivtol_
private

Pivot tolerance for MA28.

Definition at line 74 of file IpMa28TDependencyDetector.hpp.


The documentation for this class was generated from the following file: