#include <SensAlgorithm.hpp>
Public Member Functions | |
SensAlgorithm (std::vector< SmartPtr< SchurDriver > > &driver_vec, SmartPtr< SensitivityStepCalculator > sens_step_calc, SmartPtr< Measurement > measurement, Index n_sens_steps) | |
This is the interface for the actual controller. | |
virtual | ~SensAlgorithm () |
virtual bool | InitializeImpl (const OptionsList &options, const std::string &prefix) |
Implementation of the initialization method that has to be overloaded by for each derived class. | |
SensAlgorithmExitStatus | Run () |
Main loop: Wait for new measurement, Get new step, maybe deal with bounds, see to it that everything happens in the required timeframe. | |
SensAlgorithmExitStatus | ComputeSensitivityMatrix (void) |
Index | nl (void) |
accessor methods to get access to variable sizes | |
Index | nx (void) |
Index | nzl (void) |
Index | nzu (void) |
Index | ns (void) |
Index | np (void) |
Public Attributes | |
Number * | DirectionalD_X_ |
array place holders to store the vector of sensitivities | |
Number * | DirectionalD_L_ |
Number * | DirectionalD_Z_U_ |
Number * | DirectionalD_Z_L_ |
Number * | SensitivityM_X_ |
array place holders for the sensitivity matrix | |
Number * | SensitivityM_L_ |
Number * | SensitivityM_Z_U_ |
Number * | SensitivityM_Z_L_ |
Private Member Functions | |
void | GetDirectionalDerivatives (void) |
method to extract sensitivity vectors | |
void | GetSensitivityMatrix (Index col) |
method to extract sensitivity matrix | |
void | UnScaleIteratesVector (SmartPtr< IteratesVector > *V) |
private method used to uncale perturbed solution and sensitivities | |
Private Attributes | |
Index | nl_ |
Index | nx_ |
Index | nzl_ |
Index | nzu_ |
Index | nceq_ |
Index | ncineq_ |
Index | ns_ |
Index | np_ |
std::vector< SmartPtr < SchurDriver > > | driver_vec_ |
SmartPtr < SensitivityStepCalculator > | sens_step_calc_ |
SmartPtr< Measurement > | measurement_ |
Index | n_sens_steps_ |
Definition at line 19 of file SensAlgorithm.hpp.
Ipopt::SensAlgorithm::SensAlgorithm | ( | std::vector< SmartPtr< SchurDriver > > & | driver_vec, | |
SmartPtr< SensitivityStepCalculator > | sens_step_calc, | |||
SmartPtr< Measurement > | measurement, | |||
Index | n_sens_steps | |||
) |
This is the interface for the actual controller.
It handles Data input to the controller (measurement) and returns controls
virtual Ipopt::SensAlgorithm::~SensAlgorithm | ( | ) | [virtual] |
virtual bool Ipopt::SensAlgorithm::InitializeImpl | ( | const OptionsList & | options, | |
const std::string & | prefix | |||
) | [virtual] |
Implementation of the initialization method that has to be overloaded by for each derived class.
Implements Ipopt::AlgorithmStrategyObject.
SensAlgorithmExitStatus Ipopt::SensAlgorithm::Run | ( | ) |
Main loop: Wait for new measurement, Get new step, maybe deal with bounds, see to it that everything happens in the required timeframe.
SensAlgorithmExitStatus Ipopt::SensAlgorithm::ComputeSensitivityMatrix | ( | void | ) |
Index Ipopt::SensAlgorithm::nl | ( | void | ) | [inline] |
accessor methods to get access to variable sizes
Definition at line 44 of file SensAlgorithm.hpp.
Index Ipopt::SensAlgorithm::nx | ( | void | ) | [inline] |
Definition at line 45 of file SensAlgorithm.hpp.
Index Ipopt::SensAlgorithm::nzl | ( | void | ) | [inline] |
Definition at line 46 of file SensAlgorithm.hpp.
Index Ipopt::SensAlgorithm::nzu | ( | void | ) | [inline] |
Definition at line 47 of file SensAlgorithm.hpp.
Index Ipopt::SensAlgorithm::ns | ( | void | ) | [inline] |
Definition at line 48 of file SensAlgorithm.hpp.
Index Ipopt::SensAlgorithm::np | ( | void | ) | [inline] |
Definition at line 49 of file SensAlgorithm.hpp.
void Ipopt::SensAlgorithm::GetDirectionalDerivatives | ( | void | ) | [private] |
method to extract sensitivity vectors
void Ipopt::SensAlgorithm::GetSensitivityMatrix | ( | Index | col | ) | [private] |
method to extract sensitivity matrix
void Ipopt::SensAlgorithm::UnScaleIteratesVector | ( | SmartPtr< IteratesVector > * | V | ) | [private] |
private method used to uncale perturbed solution and sensitivities
array place holders to store the vector of sensitivities
Definition at line 52 of file SensAlgorithm.hpp.
Definition at line 53 of file SensAlgorithm.hpp.
Definition at line 54 of file SensAlgorithm.hpp.
Definition at line 55 of file SensAlgorithm.hpp.
array place holders for the sensitivity matrix
Definition at line 58 of file SensAlgorithm.hpp.
Definition at line 59 of file SensAlgorithm.hpp.
Definition at line 60 of file SensAlgorithm.hpp.
Definition at line 61 of file SensAlgorithm.hpp.
Index Ipopt::SensAlgorithm::nl_ [private] |
Definition at line 65 of file SensAlgorithm.hpp.
Index Ipopt::SensAlgorithm::nx_ [private] |
Definition at line 66 of file SensAlgorithm.hpp.
Index Ipopt::SensAlgorithm::nzl_ [private] |
Definition at line 67 of file SensAlgorithm.hpp.
Index Ipopt::SensAlgorithm::nzu_ [private] |
Definition at line 68 of file SensAlgorithm.hpp.
Index Ipopt::SensAlgorithm::nceq_ [private] |
Definition at line 69 of file SensAlgorithm.hpp.
Index Ipopt::SensAlgorithm::ncineq_ [private] |
Definition at line 70 of file SensAlgorithm.hpp.
Index Ipopt::SensAlgorithm::ns_ [private] |
Definition at line 71 of file SensAlgorithm.hpp.
Index Ipopt::SensAlgorithm::np_ [private] |
Definition at line 72 of file SensAlgorithm.hpp.
std::vector< SmartPtr<SchurDriver> > Ipopt::SensAlgorithm::driver_vec_ [private] |
Definition at line 74 of file SensAlgorithm.hpp.
Definition at line 75 of file SensAlgorithm.hpp.
Definition at line 76 of file SensAlgorithm.hpp.
Index Ipopt::SensAlgorithm::n_sens_steps_ [private] |
Definition at line 77 of file SensAlgorithm.hpp.