Ipopt  3.11.9
SensStdStepCalc.hpp
Go to the documentation of this file.
1 // Copyright 2009, 2011 Hans Pirnay
2 // All Rights Reserved.
3 // This code is published under the Eclipse Public License.
4 //
5 // Date : 2009-05-16
6 
7 #ifndef __ASSTDSTEPCALC_HPP__
8 #define __ASSTDSTEPCALC_HPP__
9 
10 #include "SensBacksolver.hpp"
11 #include "SensStepCalc.hpp"
12 #include <vector>
13 
14 
15 namespace Ipopt
16 {
17 
19  {
20  public:
22  SmartPtr<SensBacksolver> backsolver);
23 
24  virtual ~StdStepCalculator();
25 
26  virtual bool InitializeImpl(const OptionsList& options,
27  const std::string& prefix);
28 
31  virtual bool Step(DenseVector& delta_u, IteratesVector& sol);
32 
34  std::vector<Index>& x_bound_violations_idx,
35  std::vector<Number>& x_bound_violations_du);
36 
37  private:
42  };
43 }
44 
45 #endif
Ipopt::StdStepCalculator::BoundCheck
bool BoundCheck(IteratesVector &sol, std::vector< Index > &x_bound_violations_idx, std::vector< Number > &x_bound_violations_du)
Ipopt::StdStepCalculator::ift_data_
SmartPtr< SchurData > ift_data_
Definition: SensStdStepCalc.hpp:38
Ipopt
Definition: matlabjournal.hpp:14
Ipopt::Number
double Number
Type of all numbers.
Definition: IpTypes.hpp:17
Ipopt::StdStepCalculator::StdStepCalculator
StdStepCalculator(SmartPtr< SchurData > ift_data, SmartPtr< SensBacksolver > backsolver)
Ipopt::StdStepCalculator::kkt_residuals_
bool kkt_residuals_
Definition: SensStdStepCalc.hpp:41
Ipopt::StdStepCalculator::~StdStepCalculator
virtual ~StdStepCalculator()
Ipopt::StdStepCalculator
Definition: SensStdStepCalc.hpp:19
Ipopt::StdStepCalculator::bound_eps_
Number bound_eps_
Definition: SensStdStepCalc.hpp:40
Ipopt::SmartPtr
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:183
Ipopt::SensitivityStepCalculator
Definition: SensStepCalc.hpp:21
Ipopt::DenseVector
Dense Vector Implementation.
Definition: IpDenseVector.hpp:41
Ipopt::StdStepCalculator::Step
virtual bool Step(DenseVector &delta_u, IteratesVector &sol)
This is the main algorithmic function of this class; It calculates a step using its SchurDriver,...
SensStepCalc.hpp
Ipopt::StdStepCalculator::backsolver_
SmartPtr< SensBacksolver > backsolver_
Definition: SensStdStepCalc.hpp:39
Ipopt::OptionsList
This class stores a list of user set options.
Definition: IpOptionsList.hpp:33
Ipopt::StdStepCalculator::InitializeImpl
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.
SensBacksolver.hpp
Ipopt::IteratesVector
Specialized CompoundVector class specifically for the algorithm iterates.
Definition: IpIteratesVector.hpp:28