Ipopt Documentation  
 
Loading...
Searching...
No Matches
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
15namespace Ipopt
16{
17
20{
21public:
24
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
42private:
53
56 );
57
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
This file contains a base class for all exceptions and a set of macros to help with exceptions.