16 #ifndef OSDIPBLOCKSOLVER_H
17 #define OSDIPBLOCKSOLVER_H
20 #include "OSInstance.h"
77 virtual void solve(
double *cost, std::vector<IndexValuePair*> *solIndexValPair,
double *optVal) = 0;
90 virtual void solve(
double *cost, std::string *osrl) = 0 ;
double * m_cost
m_cost is the objective function of (reduced) coefficients
int m_whichBlock
m_whichBlock is the index of the subproblem we are working with
double m_optVal
m_optVal is the optimal objective function value of the block optimization problem ...
virtual void solve(double *cost, std::vector< IndexValuePair * > *solIndexValPair, double *optVal)=0
OSDipBlockSolver()
Default Constructor.
virtual ~OSDipBlockSolver()=0
Default destructor.
SparseVector * m_sparseVec
m_sparseVec is the column found by solving the block optimization problem
a sparse vector data structure