CoinWarmStartVector

WarmStart information that is only a vector.

WarmStart information that is only a vector.

Inheritance

Inherits from: CoinWarmStart

Public Methods

generateDiff

Generate a diff that can convert the warm start passed as a parameter to the warm start specified by this.

CoinWarmStartDiff * generateDiff(const CoinWarmStart *const oldCWS)

Parameters:

applyDiff

Apply diff to this warm start.

void applyDiff(const CoinWarmStartDiff *const cwsdDiff)

Parameters:

size

return the size of the vector

int size()

values

return a pointer to the array of vectors

const T * values()

assignVector

Assign the vector to be the warmstart information.

void assignVector(int size, T *& vec)

Parameters:

CoinWarmStartVector

 CoinWarmStartVector()

CoinWarmStartVector

 CoinWarmStartVector(int size, const T * vec)

Parameters:

CoinWarmStartVector

 CoinWarmStartVector(const CoinWarmStartVector & rhs)

Parameters:

operator=

CoinWarmStartVector & operator=(const CoinWarmStartVector & rhs)

Parameters:

swap

void swap(CoinWarmStartVector & rhs)

Parameters:

clone

Virtual constructor

CoinWarmStart * clone()

~CoinWarmStartVector

 ~CoinWarmStartVector()

clear

Clear the data.

void clear()

Source

Header: layer-0/CoinUtils/src/CoinWarmStartVector.hpp