Ipopt Documentation  
 
Loading...
Searching...
No Matches
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
17namespace Ipopt
18{
19
21{
22public:
24 SmartPtr<SchurData> ift_data,
26 );
27
29
30 virtual bool InitializeImpl(
31 const OptionsList& options,
32 const std::string& prefix
33 );
34
39 virtual bool Step(
40 DenseVector& delta_u,
42 );
43
45 IteratesVector& sol,
46 std::vector<Index>& x_bound_violations_idx,
47 std::vector<Number>& x_bound_violations_du
48 );
49
55
56private:
61
63};
64
65}
66
67#endif
Dense Vector Implementation.
Specialized CompoundVector class specifically for the algorithm iterates.
This class stores a list of user set options.
This is the interface for the classes that perform the actual step.
Template class for Smart Pointers.
SmartPtr< SchurData > ift_data_
StdStepCalculator(SmartPtr< SchurData > ift_data, SmartPtr< SensBacksolver > backsolver)
virtual SmartPtr< IteratesVector > GetSensitivityVector(void)
return the sensitivity vector
bool BoundCheck(IteratesVector &sol, std::vector< Index > &x_bound_violations_idx, std::vector< Number > &x_bound_violations_du)
virtual bool Step(DenseVector &delta_u, IteratesVector &sol)
This is the main algorithmic function of this class.
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.
SmartPtr< IteratesVector > SensitivityVector
SmartPtr< SensBacksolver > backsolver_
This file contains a base class for all exceptions and a set of macros to help with exceptions.
ipnumber Number
Type of all numbers.
Definition IpTypes.hpp:17