WarmStart information that is only a dual vector. More...
#include <CoinWarmStartDual.hpp>
Public Member Functions | |
int | size () const |
return the size of the dual vector More... | |
const double * | dual () const |
return a pointer to the array of duals More... | |
void | assignDual (int size, double *&dual) |
Assign the dual vector to be the warmstart information. More... | |
CoinWarmStartDual () | |
CoinWarmStartDual (int size, const double *dual) | |
CoinWarmStartDual (const CoinWarmStartDual &rhs) | |
CoinWarmStartDual & | operator= (const CoinWarmStartDual &rhs) |
virtual CoinWarmStart * | clone () const |
`Virtual constructor' More... | |
virtual | ~CoinWarmStartDual () |
Dual warm start `diff' methods | |
virtual CoinWarmStartDiff * | generateDiff (const CoinWarmStart *const oldCWS) const |
Generate a `diff' that can convert the warm start passed as a parameter to the warm start specified by this . More... | |
virtual void | applyDiff (const CoinWarmStartDiff *const cwsdDiff) |
Apply diff to this warm start. More... | |
![]() | |
virtual | ~CoinWarmStart () |
Abstract destructor. More... | |
Private Attributes | |
Private data members | |
CoinWarmStartVector< double > | dual_ |
WarmStart information that is only a dual vector.
Definition at line 18 of file CoinWarmStartDual.hpp.
|
inline |
Definition at line 31 of file CoinWarmStartDual.hpp.
|
inline |
Definition at line 33 of file CoinWarmStartDual.hpp.
|
inline |
Definition at line 35 of file CoinWarmStartDual.hpp.
|
inlinevirtual |
Definition at line 49 of file CoinWarmStartDual.hpp.
|
inline |
return the size of the dual vector
Definition at line 21 of file CoinWarmStartDual.hpp.
|
inline |
return a pointer to the array of duals
Definition at line 23 of file CoinWarmStartDual.hpp.
|
inline |
Assign the dual vector to be the warmstart information.
In this method the object assumes ownership of the pointer and upon return "dual" will be a NULL pointer. If copying is desirable use the constructor.
Definition at line 28 of file CoinWarmStartDual.hpp.
|
inline |
Definition at line 37 of file CoinWarmStartDual.hpp.
|
inlinevirtual |
`Virtual constructor'
Implements CoinWarmStart.
Definition at line 45 of file CoinWarmStartDual.hpp.
|
virtual |
Generate a `diff' that can convert the warm start passed as a parameter to the warm start specified by this
.
The capabilities are limited: the basis passed as a parameter can be no larger than the basis pointed to by this
.
Reimplemented from CoinWarmStart.
|
virtual |
Apply diff
to this warm start.
Update this warm start by applying diff
. It's assumed that the allocated capacity of the warm start is sufficiently large.
Reimplemented from CoinWarmStart.
|
private |
Definition at line 81 of file CoinWarmStartDual.hpp.