Ipopt Documentation  
IpEqMultCalculator.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 2004-09-23
6 
7 #ifndef __IPEQMULTCALCULATOR_HPP__
8 #define __IPEQMULTCALCULATOR_HPP__
9 
10 #include "IpUtils.hpp"
11 #include "IpAlgStrategy.hpp"
12 
13 namespace Ipopt
14 {
22 {
23 public:
26 
28  { }
31  { }
33 
35  virtual bool InitializeImpl(
36  const OptionsList& options,
37  const std::string& prefix
38  ) = 0;
39 
46  virtual bool CalculateMultipliers(
47  Vector& y_c,
48  Vector& y_d
49  ) = 0;
50 
51 private:
62 
65  );
66 
68  void operator=(
70  );
72 };
73 
74 } // namespace Ipopt
75 
76 #endif
This is the base class for all algorithm strategy objects.
Base Class for objects that compute estimates for the equality constraint multipliers y_c and y_d.
virtual bool CalculateMultipliers(Vector &y_c, Vector &y_d)=0
This method computes the estimates for y_c and y_d at the current point.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
overloaded from AlgorithmStrategyObject
EqMultiplierCalculator()
Default Constructor.
virtual ~EqMultiplierCalculator()
Destructor.
EqMultiplierCalculator(const EqMultiplierCalculator &)
Copy Constructor.
void operator=(const EqMultiplierCalculator &)
Default Assignment Operator.
This class stores a list of user set options.
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.