|
CoinUtils 2.11.13
|
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 | |
| const double * | dual () const |
| return a pointer to the array of duals | |
| void | assignDual (int size, double *&dual) |
| Assign the dual vector to be the warmstart information. | |
| CoinWarmStartDual () | |
| CoinWarmStartDual (int size, const double *dual) | |
| CoinWarmStartDual (const CoinWarmStartDual &rhs) | |
| CoinWarmStartDual & | operator= (const CoinWarmStartDual &rhs) |
Dual warm start `diff' methods */ | |
`Virtual constructor' */ virtual CoinWarmStart *clone() const { return new CoinWarmStartDual(*this); } virtual ~CoinWarmStartDual() {} /*! /*! Generate a `diff' that can convert the warm start passed as a parameter to the warm start specified by The capabilities are limited: the basis passed as a parameter can be no larger than the basis pointed to by virtual CoinWarmStartDiff * generateDiff(const CoinWarmStart *const oldCWS) const; /*! Apply Update this warm start by applying | |
| virtual void | applyDiff (const CoinWarmStartDiff *const cwsdDiff) |
| Public Member Functions inherited from CoinWarmStart | |
| virtual | ~CoinWarmStart () |
| Abstract destructor. | |
| virtual CoinWarmStart * | clone () const =0 |
| `Virtual constructor' | |
| virtual CoinWarmStartDiff * | generateDiff (const CoinWarmStart *const) const |
Private Attributes | |
Private data members | |
| CoinWarmStartVector< double > | dual_ |
WarmStart information that is only a dual vector.
Definition at line 17 of file CoinWarmStartDual.hpp.
|
inline |
Definition at line 32 of file CoinWarmStartDual.hpp.
|
inline |
Definition at line 34 of file CoinWarmStartDual.hpp.
|
inline |
Definition at line 39 of file CoinWarmStartDual.hpp.
|
inline |
return the size of the dual vector
Definition at line 20 of file CoinWarmStartDual.hpp.
|
inline |
return a pointer to the array of duals
Definition at line 22 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 27 of file CoinWarmStartDual.hpp.
|
inline |
Definition at line 44 of file CoinWarmStartDual.hpp.
|
virtual |
Reimplemented from CoinWarmStart.
|
private |
Definition at line 90 of file CoinWarmStartDual.hpp.