OSDipBlockBearcatSolver.h
Go to the documentation of this file.
1 /* $Id: OSBlockBearcatSolver.h 3038 2009-11-07 11:43:44Z kmartin $ */
16 #ifndef OSDIPBLOCKBEARCATSOLVER_H
17 #define OSDIPBLOCKBEARCATSOLVER_H
18 
19 // --------------------------------------------------------------------- //
20 #include "OSDipBlockSolver.h"
21 #include "OSDataStructures.h"
22 #include "OSDefaultSolver.h"
23 #include "OSrLReader.h"
24 
26 
27 // --------------------------------------------------------------------- //
35 // --------------------------------------------------------------------- //
37 public:
38 
39 
43 
44  //variables for the dynamic programming solution
46  int m_numHubs;
50  int* m_demand;
51 
52  double** m_u;
53  double** m_v;
54  int** m_px;
55  int** m_tx;
56  double** m_g;
57 
58  int* m_varIdx;
59  //end variables for the dynamic programming solution
60 
61  std::vector<IndexValuePair*> m_primalVals;
62 
63 
64  double qrouteCost(const int& k, const int& l, double* c, int* kountVar) ;
65 
66 
78  virtual void solve(double *cost, std::vector<IndexValuePair*> *solIndexValPair, double *optVal) ;
79 
80 
91  virtual void solve(double *cost, std::string *osrl) ;
92 
98 
99 
105 
111 
112  class Factory;
114 
115  public:
116 
118 
119  }
120 
122 
123  }
124 
126 
127  };// end class OSDipBlockSolverFactory
128 
129 
130  //
131 };//end class OSDipBlockBearcatSolver
132 
133 
134 
135 
136 #endif
virtual void solve(double *cost, std::vector< IndexValuePair * > *solIndexValPair, double *optVal)
The Result Class.
Definition: OSResult.h:2548
OSOption * osoption
std::vector< IndexValuePair * > m_primalVals
The Option Class.
Definition: OSOption.h:3564
OSDipBlockBearcatSolver()
Default Constructor.
void fint fint * k
The in-memory representation of an OSiL instance..
Definition: OSInstance.h:2262
OSInstance * osinstance
double qrouteCost(const int &k, const int &l, double *c, int *kountVar)
~OSDipBlockBearcatSolver()
Default destructor.
real c