- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# CoinWarmStartDual Class Reference

WarmStart information that is only a dual vector. More...

`#include <CoinWarmStartDual.hpp>`

Inheritance diagram for CoinWarmStartDual:

[legend]
Collaboration diagram for CoinWarmStartDual:

[legend]
List of all members.

## 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)
virtual CoinWarmStart * | clone () const
| `Virtual constructor'
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`.
virtual void | applyDiff (const CoinWarmStartDiff *const cwsdDiff)
| Apply `diff` to this warm start.
## Private Attributes
Private data members
CoinWarmStartVector< double > | dual_

## Detailed Description

WarmStart information that is only a dual vector.

Definition at line 18 of file CoinWarmStartDual.hpp.

## Constructor & Destructor Documentation

CoinWarmStartDual::CoinWarmStartDual | ( |  | ) | `[inline]`

Definition at line 31 of file CoinWarmStartDual.hpp.

Referenced by clone().

CoinWarmStartDual::CoinWarmStartDual | ( | int | size,
|  | const double * | dual |
| ) |  |  | `[inline]`

Definition at line 33 of file CoinWarmStartDual.hpp.

CoinWarmStartDual::CoinWarmStartDual | ( | const CoinWarmStartDual & | rhs | ) | `[inline]`

Definition at line 35 of file CoinWarmStartDual.hpp.

virtual CoinWarmStartDual::~CoinWarmStartDual | ( |  | ) | `[inline, virtual]`

Definition at line 49 of file CoinWarmStartDual.hpp.

## Member Function Documentation

int CoinWarmStartDual::size | ( |  | ) | const`[inline]`

return the size of the dual vector

Definition at line 21 of file CoinWarmStartDual.hpp.

References dual_, and CoinWarmStartVector< T >::size().

const double* CoinWarmStartDual::dual | ( |  | ) | const`[inline]`

return a pointer to the array of duals

Definition at line 23 of file CoinWarmStartDual.hpp.

References dual_, and CoinWarmStartVector< T >::values().

void CoinWarmStartDual::assignDual | ( | int | size,
|  | double *& | dual |
| ) |  |  | `[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.

References CoinWarmStartVector< T >::assignVector(), and dual_.

CoinWarmStartDual& CoinWarmStartDual::operator= | ( | const CoinWarmStartDual & | rhs | ) | `[inline]`

Definition at line 37 of file CoinWarmStartDual.hpp.

References dual_.

virtual CoinWarmStart* CoinWarmStartDual::clone | ( |  | ) | const`[inline, virtual]`

`Virtual constructor'

Implements CoinWarmStart.

Definition at line 45 of file CoinWarmStartDual.hpp.

References CoinWarmStartDual().

virtual CoinWarmStartDiff* CoinWarmStartDual::generateDiff | ( | const CoinWarmStart *const | oldCWS | ) | const`[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 void CoinWarmStartDual::applyDiff | ( | const CoinWarmStartDiff *const | cwsdDiff | ) | `[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.

## Member Data Documentation

CoinWarmStartVector<double> CoinWarmStartDual::dual_`[private]`

Definition at line 81 of file CoinWarmStartDual.hpp.

Referenced by assignDual(), dual(), operator=(), and size().

The documentation for this class was generated from the following file:

- /home/coin/SVN-release/Blis-0.92.0/CoinUtils/src/CoinWarmStartDual.hpp