Go to the documentation of this file.
12 #ifndef IpoptWarmStart_HPP
13 #define IpoptWarmStart_HPP
124 warm_starter_(NULL ) {}
138 return warm_starter_;
IpoptWarmStart(const IpoptWarmStart &other, bool ownValues=1)
Copy constructor.
virtual CoinWarmStartDiff * generateDiff(const CoinWarmStart *const oldCWS) const
Generate the "differences" between two IpoptWarmStart.
Diff class for IpoptWarmStart.
IpoptWarmStart(bool empty=1, int numvars=0, int numcont=0)
Default constructor.
virtual CoinWarmStart * clone() const
‘Virtual constructor’
(C) Copyright International Business Machines Corporation 2007
void swap(CoinWarmStartPrimalDualDiff &rhs)
IpoptWarmStart(const Ipopt::SmartPtr< TMINLP2TNLP > tnlp, Ipopt::SmartPtr< IpoptInteriorWarmStarter > warm_starter)
Usefull constructor, stores the current optimum of ipopt.
virtual ~IpoptWarmStartDiff()
Abstract destructor.
void flushPoint()
flush the starting point
IpoptWarmStartDiff(const IpoptWarmStartDiff &other)
Copy constructor.
IpoptWarmStart(const CoinWarmStartPrimalDual &pdws)
A constructor from a CoinWarmStartPrimalDual.
virtual CoinWarmStartDiff * clone() const
‘Virtual constructor’
bool empty() const
Is this an empty warm start?
virtual void applyDiff(const CoinWarmStartDiff *const cwsdDiff)
Apply 'differences' to an Ipopt warm start.
IpoptWarmStartDiff(CoinWarmStartPrimalDualDiff *diff, Ipopt::SmartPtr< IpoptInteriorWarmStarter > warm_starter)
Useful constructor; takes over the data in diff.
virtual ~IpoptWarmStart()
Abstract destructor.
Class for storing warm start informations for Ipopt.
Ipopt::SmartPtr< IpoptInteriorWarmStarter > warm_starter() const
Accessor to warm start information obecjt.
Ipopt::SmartPtr< IpoptInteriorWarmStarter > warm_starter() const
Accessor to warm start information obecjt.
const double * dual() const
const double * primal() const
IpoptWarmStart(int primal_size, int dual_size, const double *primal, const double *dual)
Another usefull constructor, stores the passed point.