Ipopt  3.12.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
IpRestoPenaltyConvCheck.hpp
Go to the documentation of this file.
1 // Copyright (C) 2008 International Business Machines and others.
2 // All Rights Reserved.
3 // This code is published under the Eclipse Public License.
4 //
5 // $Id: IpRestoPenaltyConvCheck.hpp 1861 2010-12-21 21:34:47Z andreasw $
6 //
7 // Authors: Andreas Waechter IBM 2008-06-24
8 // based on IpRestoFilterConvCheck.hpp
9 
10 #ifndef __IPRESTOPENALTYCONVCHECK_HPP__
11 #define __IPRESTOPENALTYCONVCHECK_HPP__
12 
13 #include "IpRestoConvCheck.hpp"
14 #include "IpPenaltyLSAcceptor.hpp"
15 
16 namespace Ipopt
17 {
18 
25  {
26  public:
31 
35 
41  void SetOrigLSAcceptor(const BacktrackingLSAcceptor& orig_ls_acceptor);
42 
44  virtual bool InitializeImpl(const OptionsList& options,
45  const std::string& prefix);
46 
49  static void RegisterOptions(SmartPtr<RegisteredOptions> roptions);
51  private:
60 
64 
68  virtual ConvergenceStatus
69  TestOrigProgress(Number orig_trial_barr, Number orig_trial_theta);
70 
77  };
78 
79 } // namespace Ipopt
80 
81 #endif
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
overloaded from AlgorithmStrategyObject
const PenaltyLSAcceptor * orig_penalty_ls_acceptor_
Strategy object for the filter line search method for the original NLP.
double Number
Type of all numbers.
Definition: IpTypes.hpp:17
Penalty function line search.
Base class for backtracking line search acceptors.
virtual ~RestoPenaltyConvergenceCheck()
Default destructor.
This is the implementation of the restoration convergence check is the original algorithm used the fi...
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:172
This class stores a list of user set options.
ConvergenceStatus
Convergence return enum.
Definition: IpConvCheck.hpp:35
RestoPenaltyConvergenceCheck()
Default Constructor.
virtual ConvergenceStatus TestOrigProgress(Number orig_trial_barr, Number orig_trial_theta)
Method for checking progress with original filter globalization mechanism.
Convergence check for the restoration phase.
void operator=(const RestoPenaltyConvergenceCheck &)
Overloaded Equals Operator.
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
Methods used by IpoptType.
void SetOrigLSAcceptor(const BacktrackingLSAcceptor &orig_ls_acceptor)
Set the object for the original penalty line search.