Ipopt Documentation  
IpIterateInitializer.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-24
6 
7 #ifndef __IPITERATEINITIALIZER_HPP__
8 #define __IPITERATEINITIALIZER_HPP__
9 
10 #include "IpAlgStrategy.hpp"
11 #include "IpIpoptNLP.hpp"
12 #include "IpIpoptData.hpp"
14 
15 namespace Ipopt
16 {
17 
20 {
21 public:
24 
26  { }
27 
30  { }
32 
33  virtual bool InitializeImpl(
34  const OptionsList& options,
35  const std::string& prefix
36  ) = 0;
37 
40  virtual bool SetInitialIterates() = 0;
41 
42 private:
53 
55  const IterateInitializer&
56  );
57 
59  void operator=(
60  const IterateInitializer&
61  );
63 
64 };
65 
66 } // namespace Ipopt
67 
68 #endif
This is the base class for all algorithm strategy objects.
Base class for all methods for initializing the iterates.
IterateInitializer(const IterateInitializer &)
Copy Constructor.
virtual ~IterateInitializer()
Default destructor.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
Implementation of the initialization method that has to be overloaded by for each derived class.
virtual bool SetInitialIterates()=0
Compute the initial iterates and set the into the curr field of the ip_data object.
IterateInitializer()
Default Constructor.
void operator=(const IterateInitializer &)
Default Assignment Operator.
This class stores a list of user set options.
#define IPOPTLIB_EXPORT
Definition: config.h:94
This file contains a base class for all exceptions and a set of macros to help with exceptions.