Bonmin 1.8.9
|
#include <BonIpoptInteriorWarmStarter.hpp>
Public Member Functions | |
Constructors/Destructors | |
IpoptInteriorWarmStarter (Ipopt::Index n, const Ipopt::Number *x_L, const Ipopt::Number *x_u, Ipopt::Number nlp_lower_bound_inf, Ipopt::Number nlp_upper_bound_inf, bool store_several_iterates) | |
Constructor. | |
~IpoptInteriorWarmStarter () | |
Default destructor. | |
bool | UpdateStoredIterates (Ipopt::AlgorithmMode mode, const Ipopt::IpoptData &ip_data, Ipopt::IpoptCalculatedQuantities &ip_cq) |
Method for possibly storing another iterate during the current optimizatin for possible use for a warm start for a new problem. | |
bool | Finalize () |
Method for doing whatever needs to be done after the parent NLP has been solved. | |
bool | WarmStartIterate (Ipopt::Index n, const Ipopt::Number *x_l_new, const Ipopt::Number *x_u_new, Ipopt::IteratesVector &warm_start_iterate) |
Method for computing the initial point based on the stored information. | |
![]() | |
ReferencedObject () | |
virtual | ~ReferencedObject () |
Index | ReferenceCount () const |
void | AddRef (const Referencer *referencer) const |
void | ReleaseRef (const Referencer *referencer) const |
Definition at line 18 of file BonIpoptInteriorWarmStarter.hpp.
Bonmin::IpoptInteriorWarmStarter::IpoptInteriorWarmStarter | ( | Ipopt::Index | n, |
const Ipopt::Number * | x_L, | ||
const Ipopt::Number * | x_u, | ||
Ipopt::Number | nlp_lower_bound_inf, | ||
Ipopt::Number | nlp_upper_bound_inf, | ||
bool | store_several_iterates ) |
Constructor.
We give it the values of the current bounds so that it can figure out which variables are fixed for this NLP.
Bonmin::IpoptInteriorWarmStarter::~IpoptInteriorWarmStarter | ( | ) |
Default destructor.
bool Bonmin::IpoptInteriorWarmStarter::UpdateStoredIterates | ( | Ipopt::AlgorithmMode | mode, |
const Ipopt::IpoptData & | ip_data, | ||
Ipopt::IpoptCalculatedQuantities & | ip_cq ) |
Method for possibly storing another iterate during the current optimizatin for possible use for a warm start for a new problem.
bool Bonmin::IpoptInteriorWarmStarter::Finalize | ( | ) |
Method for doing whatever needs to be done after the parent NLP has been solved.
bool Bonmin::IpoptInteriorWarmStarter::WarmStartIterate | ( | Ipopt::Index | n, |
const Ipopt::Number * | x_l_new, | ||
const Ipopt::Number * | x_u_new, | ||
Ipopt::IteratesVector & | warm_start_iterate ) |
Method for computing the initial point based on the stored information.