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