#include <MMKP_MCKnap.h>
|
void | solveTrivialMaxSum (const double *redCost, const double *origCost, vector< int > &solInd, double &varRedCost, double &varOrigCost) |
|
const int | getIndexIJ (const int i, const int j) const |
|
pair< int, int > | getIndexInv (const int index) const |
|
void | setMCKnapData (const double capacity, const double *weight) |
|
void | solveMCKnap (const double *redCost, const double *origCost, vector< int > &solInd, vector< double > &solEls, double &varRedCost, double &varOrigCost) |
|
| MMKP_MCKnap (const int nGroupRows, const int nGroupCols) |
|
| ~MMKP_MCKnap () |
|
Definition at line 44 of file MMKP_MCKnap.h.
MMKP_MCKnap::MMKP_MCKnap |
( |
const int |
nGroupRows, |
|
|
const int |
nGroupCols |
|
) |
| |
|
inline |
MMKP_MCKnap::~MMKP_MCKnap |
( |
| ) |
|
|
inline |
void MMKP_MCKnap::solveTrivialMaxSum |
( |
const double * |
redCost, |
|
|
const double * |
origCost, |
|
|
vector< int > & |
solInd, |
|
|
double & |
varRedCost, |
|
|
double & |
varOrigCost |
|
) |
| |
const int MMKP_MCKnap::getIndexIJ |
( |
const int |
i, |
|
|
const int |
j |
|
) |
| const |
|
inline |
pair<int,int> MMKP_MCKnap::getIndexInv |
( |
const int |
index | ) |
const |
|
inline |
void MMKP_MCKnap::setMCKnapData |
( |
const double |
capacity, |
|
|
const double * |
weight |
|
) |
| |
void MMKP_MCKnap::solveMCKnap |
( |
const double * |
redCost, |
|
|
const double * |
origCost, |
|
|
vector< int > & |
solInd, |
|
|
vector< double > & |
solEls, |
|
|
double & |
varRedCost, |
|
|
double & |
varOrigCost |
|
) |
| |
double* MMKP_MCKnap::m_costDbl |
|
private |
int* MMKP_MCKnap::m_weight |
|
private |
int MMKP_MCKnap::m_nGroupRows |
|
private |
int MMKP_MCKnap::m_nGroupCols |
|
private |
int MMKP_MCKnap::m_capacity |
|
private |
int MMKP_MCKnap::m_cscale |
|
private |
int MMKP_MCKnap::m_wscale |
|
private |
The documentation for this class was generated from the following file: