Ipopt Documentation  
IpRestoMinC_1Nrm.hpp
Go to the documentation of this file.
1 // Copyright (C) 2004, 2010 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 2004-08-13
6 
7 #ifndef __IPRESTOC_1NRM_HPP__
8 #define __IPRESTOC_1NRM_HPP__
9 
10 #include "IpRestoPhase.hpp"
11 #include "IpIpoptAlg.hpp"
12 #include "IpEqMultCalculator.hpp"
13 
14 namespace Ipopt
15 {
16 
21 {
22 public:
34  IpoptAlgorithm& resto_alg,
35  const SmartPtr<EqMultiplierCalculator>& eq_mult_calculator
36  );
37 
41 
42  virtual bool InitializeImpl(
43  const OptionsList& options,
44  const std::string& prefix
45  );
46 
47  static void RegisterOptions(
49  );
50 
51 protected:
52  virtual bool PerformRestoration();
53 
54 private:
66 
70  );
71 
73  void operator=(
75  );
77 
83 
89 
93 
98 
105 
108 
115 
120 
127  Vector& delta_z,
128  const Vector& curr_z,
129  const Vector& curr_slack,
130  const Vector& trial_slack
131  );
133 };
134 
135 } // namespace Ipopt
136 
137 #endif
Ipopt::MinC_1NrmRestorationPhase::resto_options_
SmartPtr< OptionsList > resto_options_
Copy of original options, which is required to initialize the Ipopt algorithm strategy object before ...
Definition: IpRestoMinC_1Nrm.hpp:88
Ipopt::MinC_1NrmRestorationPhase::count_restorations_
Index count_restorations_
Counter for the number of time that PerformRestoration is called.
Definition: IpRestoMinC_1Nrm.hpp:119
Ipopt::MinC_1NrmRestorationPhase::resto_failure_feasibility_threshold_
Number resto_failure_feasibility_threshold_
Primal infeasibility tolerance for declaring failure of restoration phase when the non-regular termin...
Definition: IpRestoMinC_1Nrm.hpp:113
Ipopt
This file contains a base class for all exceptions and a set of macros to help with exceptions.
Definition: IpInexactAlgBuilder.hpp:13
Ipopt::Number
double Number
Type of all numbers.
Definition: IpTypes.hpp:15
Ipopt::MinC_1NrmRestorationPhase::constr_viol_tol_
Number constr_viol_tol_
Constraint violation tolerance.
Definition: IpRestoMinC_1Nrm.hpp:107
IpEqMultCalculator.hpp
Ipopt::RestorationPhase
Base class for different restoration phases.
Definition: IpRestoPhase.hpp:34
Ipopt::MinC_1NrmRestorationPhase::PerformRestoration
virtual bool PerformRestoration()
Method called to perform restoration for the filter line search method.
Ipopt::MinC_1NrmRestorationPhase::expect_infeasible_problem_
bool expect_infeasible_problem_
Indicates whether problem can be expected to be infeasible.
Definition: IpRestoMinC_1Nrm.hpp:104
Ipopt::MinC_1NrmRestorationPhase::eq_mult_calculator_
SmartPtr< EqMultiplierCalculator > eq_mult_calculator_
Definition: IpRestoMinC_1Nrm.hpp:81
Ipopt::MinC_1NrmRestorationPhase::resto_alg_
SmartPtr< IpoptAlgorithm > resto_alg_
Definition: IpRestoMinC_1Nrm.hpp:80
Ipopt::Index
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:17
IpRestoPhase.hpp
Ipopt::MinC_1NrmRestorationPhase::bound_mult_reset_threshold_
Number bound_mult_reset_threshold_
Maximal allowed value of a bound multiplier after restoration phase.
Definition: IpRestoMinC_1Nrm.hpp:97
Ipopt::SmartPtr
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:171
Ipopt::MinC_1NrmRestorationPhase::MinC_1NrmRestorationPhase
MinC_1NrmRestorationPhase()
Default Constructor.
Ipopt::MinC_1NrmRestorationPhase::operator=
void operator=(const MinC_1NrmRestorationPhase &)
Default Assignment Operator.
Ipopt::MinC_1NrmRestorationPhase
Restoration Phase that minimizes the 1-norm of the constraint violation - using the interior point me...
Definition: IpRestoMinC_1Nrm.hpp:20
Ipopt::MinC_1NrmRestorationPhase::constr_mult_reset_threshold_
Number constr_mult_reset_threshold_
Definition: IpRestoMinC_1Nrm.hpp:92
Ipopt::IpoptAlgorithm
The main ipopt algorithm class.
Definition: IpIpoptAlg.hpp:44
Ipopt::MinC_1NrmRestorationPhase::~MinC_1NrmRestorationPhase
virtual ~MinC_1NrmRestorationPhase()
Destructor.
Ipopt::MinC_1NrmRestorationPhase::RegisterOptions
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
Ipopt::OptionsList
This class stores a list of user set options.
Definition: IpOptionsList.hpp:32
IpIpoptAlg.hpp
Ipopt::MinC_1NrmRestorationPhase::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::Vector
Vector Base Class.
Definition: IpVector.hpp:47
Ipopt::MinC_1NrmRestorationPhase::ComputeBoundMultiplierStep
void ComputeBoundMultiplierStep(Vector &delta_z, const Vector &curr_z, const Vector &curr_slack, const Vector &trial_slack)
Method for computing "primal-dual" step in bound multipliers, given step in slacks.