#include <BonQuadCut.hpp>


Public Member Functions | |
| QuadCut () | |
| Default constructor. More... | |
| QuadCut (const QuadCut &other) | |
| Copy constructor. More... | |
| QuadCut & | operator= (const QuadCut &rhs) |
| Assignment operator. More... | |
| virtual OsiRowCut * | clone () const |
| Virtual copy. More... | |
| ~QuadCut () | |
| Destructor. More... | |
| void | print () const |
| Print. More... | |
| CoinPackedMatrix & | Q () |
| Return the matrix stored. More... | |
| const CoinPackedMatrix & | Q () const |
| Return the matrix stored. More... | |
| MatrixStorageType & | type () |
| Acces storage type Acces storage type. More... | |
| const MatrixStorageType & | type () const |
| double & | c () |
| Acces the constant. More... | |
| const double & | c () const |
| Acces the constant. More... | |
| double | violated (const double *solution) const |
| Compute cut violation. More... | |
Private Member Functions | |
Arithmetic operators not implemented. | |
| void | operator+= (double value) |
add value to every vector entry More... | |
| void | operator-= (double value) |
subtract value from every vector entry More... | |
| void | operator*= (double value) |
multiply every vector entry by value More... | |
| void | operator/= (double value) |
divide every vector entry by value More... | |
Private Attributes | |
| double | c_ |
| Stores the constant part of the cut. More... | |
| CoinPackedMatrix | Q_ |
| Stores quadratic part of cut. More... | |
| MatrixStorageType | type_ |
| Storage type. More... | |
Definition at line 27 of file BonQuadCut.hpp.
| Bonmin::QuadCut::QuadCut | ( | ) |
Default constructor.
Definition at line 14 of file BonQuadCut.cpp.
| Bonmin::QuadCut::QuadCut | ( | const QuadCut & | other | ) |
Copy constructor.
Definition at line 21 of file BonQuadCut.cpp.
| Bonmin::QuadCut::~QuadCut | ( | ) |
Destructor.
Definition at line 44 of file BonQuadCut.cpp.
Assignment operator.
Definition at line 29 of file BonQuadCut.cpp.
|
virtual |
Virtual copy.
Definition at line 40 of file BonQuadCut.cpp.
| void Bonmin::QuadCut::print | ( | ) | const |
Print.
Definition at line 82 of file BonQuadCut.cpp.
|
inline |
Return the matrix stored.
Definition at line 49 of file BonQuadCut.hpp.
|
inline |
Return the matrix stored.
Definition at line 54 of file BonQuadCut.hpp.
|
inline |
Acces storage type Acces storage type.
Definition at line 60 of file BonQuadCut.hpp.
|
inline |
Definition at line 63 of file BonQuadCut.hpp.
|
inline |
Acces the constant.
Definition at line 67 of file BonQuadCut.hpp.
|
inline |
Acces the constant.
Definition at line 70 of file BonQuadCut.hpp.
| double Bonmin::QuadCut::violated | ( | const double * | solution | ) | const |
Compute cut violation.
Definition at line 49 of file BonQuadCut.cpp.
|
private |
add value to every vector entry
|
private |
subtract value from every vector entry
|
private |
multiply every vector entry by value
|
private |
divide every vector entry by value
|
private |
Stores the constant part of the cut.
Definition at line 77 of file BonQuadCut.hpp.
|
private |
Stores quadratic part of cut.
Definition at line 79 of file BonQuadCut.hpp.
|
private |
Storage type.
Definition at line 81 of file BonQuadCut.hpp.
1.8.5