15 #ifndef MAD_DECOMP_SOLUTION_INCLUDED
16 #define MAD_DECOMP_SOLUTION_INCLUDED
20 #include "DecompSolution.h"
28 void print(ostream & os = cout)
const {
29 int i, b, border_size;
35 os <<
"\nBlock Decomposition:";
36 vector<unsigned int> border(nOrigRows, 1);
37 for(b = 0; b < beta; b++){
38 os <<
"\nBLOCK " << b <<
":\t";
39 for(i = 0; i < nOrigRows; i++){
50 border_size = count(border.begin(), border.end(), 1);
53 for(i = 0; i < nOrigRows; i++){
58 os <<
"\nBORDER Size = " << border_size <<
"\n";
83 const double * values,
84 const double quality) :
const int getNOrigRows() const
Access method for member data.
double * m_values
Solution values.
const int xIndex(const int i, const int b) const
Global index for column x[i,b].
MAD_DecompSolution(const MAD_DecompApp *app, const int size, const double *values, const double quality)
Constructor.
void print(ostream &os=cout) const
Get length of solution.
MAD_DecompSolution()
Default constructor.
const int getBeta() const
Global index for column x[i,b].
const double DecompEpsilon
#define CoinAssertDebug(expression)
virtual ~MAD_DecompSolution()
Default constructor.
bool UtilIsIntegral(const double x, const double etol=1.0e-10)
const MAD_DecompApp * m_app