Ipopt Documentation  
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 "IpDenseVector.hpp"
13 #include "IpIteratesVector.hpp"
14 
15 #include <vector>
16 
17 namespace Ipopt
18 {
19 
21 {
22 public:
24  SmartPtr<SchurData> ift_data,
25  SmartPtr<SensBacksolver> backsolver
26  );
27 
28  virtual ~StdStepCalculator();
29 
30  virtual bool InitializeImpl(
31  const OptionsList& options,
32  const std::string& prefix
33  );
34 
39  virtual bool Step(
40  DenseVector& delta_u,
41  IteratesVector& sol
42  );
43 
44  bool BoundCheck(
45  IteratesVector& sol,
46  std::vector<Index>& x_bound_violations_idx,
47  std::vector<Number>& x_bound_violations_du
48  );
49 
52  {
53  return SensitivityVector;
54  }
55 
56 private:
61 
63 };
64 
65 }
66 
67 #endif
Ipopt::StdStepCalculator::SensitivityVector
SmartPtr< IteratesVector > SensitivityVector
Definition: SensStdStepCalc.hpp:62
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:57
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::StdStepCalculator::StdStepCalculator
StdStepCalculator(SmartPtr< SchurData > ift_data, SmartPtr< SensBacksolver > backsolver)
Ipopt::StdStepCalculator::kkt_residuals_
bool kkt_residuals_
Definition: SensStdStepCalc.hpp:60
IpIteratesVector.hpp
Ipopt::StdStepCalculator::~StdStepCalculator
virtual ~StdStepCalculator()
Ipopt::StdStepCalculator
Definition: SensStdStepCalc.hpp:21
Ipopt::StdStepCalculator::bound_eps_
Number bound_eps_
Definition: SensStdStepCalc.hpp:59
Ipopt::SmartPtr
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:172
Ipopt::SensitivityStepCalculator
This is the interface for the classes that perform the actual step.
Definition: SensStepCalc.hpp:21
IpDenseVector.hpp
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.
SensStepCalc.hpp
Ipopt::StdStepCalculator::backsolver_
SmartPtr< SensBacksolver > backsolver_
Definition: SensStdStepCalc.hpp:58
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.
Ipopt::StdStepCalculator::GetSensitivityVector
virtual SmartPtr< IteratesVector > GetSensitivityVector(void)
return the sensitivity vector
Definition: SensStdStepCalc.hpp:51
SensBacksolver.hpp
Ipopt::IteratesVector
Specialized CompoundVector class specifically for the algorithm iterates.
Definition: IpIteratesVector.hpp:26