Go to the documentation of this file.
12 #ifndef IpoptWarmStart_HPP
13 #define IpoptWarmStart_HPP
124 warm_starter_(NULL ) {}
138 return warm_starter_;
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)
virtual ~IpoptWarmStartDiff()
Abstract destructor.
void flushPoint()
flush the starting point
IpoptWarmStartDiff(const IpoptWarmStartDiff &other)
Copy constructor.
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