|
Osi
0.108.1
|
WarmStart information that is only a dual vector. More...
#include <CoinWarmStartPrimalDual.hpp>
Inheritance diagram for CoinWarmStartPrimalDual:
Collaboration diagram for CoinWarmStartPrimalDual:Public Member Functions | |
| int | dualSize () const |
| return the size of the dual vector More... | |
| const double * | dual () const |
| return a pointer to the array of duals More... | |
| int | primalSize () const |
| return the size of the primal vector More... | |
| const double * | primal () const |
| return a pointer to the array of primals More... | |
| void | assign (int primalSize, int dualSize, double *&primal, double *&dual) |
| Assign the primal/dual vectors to be the warmstart information. More... | |
| CoinWarmStartPrimalDual () | |
| CoinWarmStartPrimalDual (int primalSize, int dualSize, const double *primal, const double *dual) | |
| CoinWarmStartPrimalDual (const CoinWarmStartPrimalDual &rhs) | |
| CoinWarmStartPrimalDual & | operator= (const CoinWarmStartPrimalDual &rhs) |
| void | clear () |
| Clear the data. More... | |
| void | swap (CoinWarmStartPrimalDual &rhs) |
| virtual CoinWarmStart * | clone () const |
| `Virtual constructor' More... | |
| virtual | ~CoinWarmStartPrimalDual () |
PrimalDual 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... | |
Public Member Functions inherited from CoinWarmStart | |
| virtual | ~CoinWarmStart () |
| Abstract destructor. More... | |
Private Attributes | |
Private data members | |
| CoinWarmStartVector< double > | primal_ |
| CoinWarmStartVector< double > | dual_ |
WarmStart information that is only a dual vector.
Definition at line 17 of file CoinWarmStartPrimalDual.hpp.
|
inline |
Definition at line 44 of file CoinWarmStartPrimalDual.hpp.
|
inline |
Definition at line 50 of file CoinWarmStartPrimalDual.hpp.
|
inline |
Definition at line 57 of file CoinWarmStartPrimalDual.hpp.
|
inlinevirtual |
Definition at line 97 of file CoinWarmStartPrimalDual.hpp.
|
inline |
return the size of the dual vector
Definition at line 20 of file CoinWarmStartPrimalDual.hpp.
|
inline |
return a pointer to the array of duals
Definition at line 22 of file CoinWarmStartPrimalDual.hpp.
|
inline |
return the size of the primal vector
Definition at line 25 of file CoinWarmStartPrimalDual.hpp.
|
inline |
return a pointer to the array of primals
Definition at line 27 of file CoinWarmStartPrimalDual.hpp.
|
inline |
Assign the primal/dual vectors to be the warmstart information.
In this method the object assumes ownership of the pointers and upon return primal and dual will be a NULL pointers. If copying is desirable use the constructor.
NOTE: primal and dual must have been allocated by new double[], because they will be freed by delete[] upon the desructtion of this object...
Definition at line 38 of file CoinWarmStartPrimalDual.hpp.
|
inline |
Definition at line 63 of file CoinWarmStartPrimalDual.hpp.
|
inline |
Clear the data.
Make it appear as if the warmstart was just created using the default constructor.
Definition at line 77 of file CoinWarmStartPrimalDual.hpp.
|
inline |
Definition at line 83 of file CoinWarmStartPrimalDual.hpp.
|
inlinevirtual |
`Virtual constructor'
Implements CoinWarmStart.
Definition at line 92 of file CoinWarmStartPrimalDual.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 133 of file CoinWarmStartPrimalDual.hpp.
|
private |
Definition at line 134 of file CoinWarmStartPrimalDual.hpp.
1.8.5