#include <MMKP_Model.h>
Public Member Functions | |
int | readInstance () |
Access methods | |
const MMKP_Instance & | getInstance () const |
const MMKP_Param & | getParam () const |
const double * | getObjective () const |
DecompConstraintSet * | getModelCore () const |
DecompConstraintSet * | getModelRelax () const |
DecompConstraintSet * | getModel (string modelName) const |
Constructor and Destructor | |
MMKP_Model (UtilParameters &utilParam) | |
Default constructor. | |
~MMKP_Model () | |
Default constructor. | |
Private Attributes | |
const string | m_classTag |
Class id tag (for log / debugging). |
Definition at line 33 of file MMKP_Model.h.
MMKP_Model::MMKP_Model | ( | UtilParameters & | utilParam | ) | [inline] |
Default constructor.
Takes an instance of UtilParameters
Definition at line 78 of file MMKP_Model.h.
MMKP_Model::~MMKP_Model | ( | ) | [inline] |
Default constructor.
Takes an instance of UtilParameters
Definition at line 89 of file MMKP_Model.h.
References UTIL_DELARR, and UtilDeleteMapPtr().
int MMKP_Model::readInstance | ( | ) |
const MMKP_Instance& MMKP_Model::getInstance | ( | ) | const [inline] |
Definition at line 46 of file MMKP_Model.h.
const MMKP_Param& MMKP_Model::getParam | ( | ) | const [inline] |
Definition at line 49 of file MMKP_Model.h.
const double* MMKP_Model::getObjective | ( | ) | const [inline] |
Definition at line 52 of file MMKP_Model.h.
DecompConstraintSet* MMKP_Model::getModelCore | ( | ) | const [inline] |
Definition at line 55 of file MMKP_Model.h.
References getModel().
DecompConstraintSet* MMKP_Model::getModelRelax | ( | ) | const [inline] |
Definition at line 58 of file MMKP_Model.h.
References getModel().
DecompConstraintSet* MMKP_Model::getModel | ( | string | modelName | ) | const [inline] |
Definition at line 62 of file MMKP_Model.h.
Referenced by getModelCore(), and getModelRelax().
const string MMKP_Model::m_classTag [private] |
Class id tag (for log / debugging).
Definition at line 36 of file MMKP_Model.h.