|
Bonmin
1.7
|
#include <BonQuadCut.hpp>
Public Member Functions | |
| QuadCut () | |
| Default constructor. | |
| QuadCut (const QuadCut &other) | |
| Copy constructor. | |
| QuadCut & | operator= (const QuadCut &rhs) |
| Assignment operator. | |
| virtual OsiRowCut * | clone () const |
| Virtual copy. | |
| ~QuadCut () | |
| Destructor. | |
| void | print () const |
| Print. | |
| CoinPackedMatrix & | Q () |
| Return the matrix stored. | |
| const CoinPackedMatrix & | Q () const |
| Return the matrix stored. | |
| MatrixStorageType & | type () |
| Acces storage type Acces storage type. | |
| const MatrixStorageType & | type () const |
| double & | c () |
| Acces the constant. | |
| const double & | c () const |
| Acces the constant. | |
| double | violated (const double *solution) const |
| Compute cut violation. | |
Private Member Functions | |
Arithmetic operators not implemented. | |
| void | operator+= (double value) |
add value to every vector entry | |
| void | operator-= (double value) |
subtract value from every vector entry | |
| void | operator*= (double value) |
multiply every vector entry by value | |
| void | operator/= (double value) |
divide every vector entry by value | |
Private Attributes | |
| double | c_ |
| Stores the constant part of the cut. | |
| CoinPackedMatrix | Q_ |
| Stores quadratic part of cut. | |
| MatrixStorageType | type_ |
| Storage type. | |
Definition at line 27 of file BonQuadCut.hpp.
| Bonmin::QuadCut::QuadCut | ( | ) |
Default constructor.
| Bonmin::QuadCut::QuadCut | ( | const QuadCut & | other | ) |
Copy constructor.
| Bonmin::QuadCut::~QuadCut | ( | ) |
Destructor.
| virtual OsiRowCut* Bonmin::QuadCut::clone | ( | ) | const [virtual] |
Virtual copy.
| void Bonmin::QuadCut::print | ( | ) | const |
Print.
| CoinPackedMatrix& Bonmin::QuadCut::Q | ( | ) | [inline] |
| const CoinPackedMatrix& Bonmin::QuadCut::Q | ( | ) | const [inline] |
| MatrixStorageType& Bonmin::QuadCut::type | ( | ) | [inline] |
Acces storage type Acces storage type.
Definition at line 60 of file BonQuadCut.hpp.
References type_.
| const MatrixStorageType& Bonmin::QuadCut::type | ( | ) | const [inline] |
Definition at line 63 of file BonQuadCut.hpp.
References type_.
| double& Bonmin::QuadCut::c | ( | ) | [inline] |
| const double& Bonmin::QuadCut::c | ( | ) | const [inline] |
| double Bonmin::QuadCut::violated | ( | const double * | solution | ) | const |
Compute cut violation.
| void Bonmin::QuadCut::operator+= | ( | double | value | ) | [private] |
add value to every vector entry
| void Bonmin::QuadCut::operator-= | ( | double | value | ) | [private] |
subtract value from every vector entry
| void Bonmin::QuadCut::operator*= | ( | double | value | ) | [private] |
multiply every vector entry by value
| void Bonmin::QuadCut::operator/= | ( | double | value | ) | [private] |
divide every vector entry by value
double Bonmin::QuadCut::c_ [private] |
Stores the constant part of the cut.
Definition at line 77 of file BonQuadCut.hpp.
Referenced by c().
CoinPackedMatrix Bonmin::QuadCut::Q_ [private] |
MatrixStorageType Bonmin::QuadCut::type_ [private] |
1.7.5.1