Ipopt Documentation  
 
Loading...
Searching...
No Matches
IpRestoRestoPhase.hpp
Go to the documentation of this file.
1// Copyright (C) 2004, 2006 International Business Machines and others.
2// All Rights Reserved.
3// This code is published under the Eclipse Public License.
4//
5// Authors: Carl Laird, Andreas Waechter IBM 2005-02-11
6
7#ifndef __IPRESTORESTOPHASE_HPP__
8#define __IPRESTORESTOPHASE_HPP__
9
10#include "IpRestoPhase.hpp"
11#include "IpIpoptAlg.hpp"
13
14namespace Ipopt
15{
16
25{
26public:
29
31
35
36 virtual bool InitializeImpl(
37 const OptionsList& options,
38 const std::string& prefix
39 );
40
41protected:
42 virtual bool PerformRestoration();
43
44private:
54
57 );
58
62 );
64
67
69 const Vector& a,
70 const Vector& b,
71 Vector& v
72 );
74};
75
76} // namespace Ipopt
77
78#endif
This class stores a list of user set options.
Recursive Restoration Phase for the MinC_1NrmRestorationPhase.
RestoRestorationPhase()
Default Constructor.
virtual ~RestoRestorationPhase()
Destructor.
virtual bool PerformRestoration()
Method called to perform restoration for the filter line search method.
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.
RestoRestorationPhase(const RestoRestorationPhase &)
Copy Constructor.
void solve_quadratic(const Vector &a, const Vector &b, Vector &v)
Method for solving the quadratic vector equation v^2 + 2a*v - b = 0.
void operator=(const RestoRestorationPhase &)
Default Assignment Operator.
Base class for different restoration phases.
Vector Base Class.
Definition IpVector.hpp:48
This file contains a base class for all exceptions and a set of macros to help with exceptions.