#include <VrpCutGenerator.h>
Inheritance diagram for VrpCutGenerator:


Public Member Functions | |
| VrpCutGenerator (VrpModel *vrp=0, int vertnum=0) | |
| Construtors. | |
| virtual | ~VrpCutGenerator () |
| Destructor. | |
| virtual bool | generateConstraints (BcpsConstraintPool &conPool) |
| Generate cons for the client model. | |
| int | connectivityCuts (BcpsConstraintPool &conPool) |
| int | addVrpCut (BcpsConstraintPool &conPool, char *coef, int rhs, int type) |
| void | setModel (VrpModel *vrp) |
| int | greedyShrinking1 (VrpModel *m, int max_shrink_cuts, BcpsConstraintPool &conPool) |
| int | greedyShrinking1One (VrpModel *m, int max_shrink_cuts, BcpsConstraintPool &conPool) |
| int | greedyShrinking6 (VrpModel *m, int max_shrink_cuts, int trial_num, double prob, BcpsConstraintPool &conPool) |
| int | greedyShrinking6One (VrpModel *m, int max_shrink_cuts, int trial_num, double prob, BcpsConstraintPool &conPool) |
| int | greedyShrinking2One (VrpModel *m, int max_shrink_cuts, BcpsConstraintPool &conPool) |
Private Attributes | |
| VrpModel * | model_ |
| The client model. | |
| char ** | coef_list |
| int * | ref_ |
| double * | cutVal_ |
| char * | cutList_ |
| char * | inSet_ |
Definition at line 34 of file VrpCutGenerator.h.
| VrpCutGenerator::VrpCutGenerator | ( | VrpModel * | vrp = 0, |
|
| int | vertnum = 0 | |||
| ) |
Construtors.
| virtual VrpCutGenerator::~VrpCutGenerator | ( | ) | [inline, virtual] |
| virtual bool VrpCutGenerator::generateConstraints | ( | BcpsConstraintPool & | conPool | ) | [virtual] |
Generate cons for the client model.
The routine returns true if reoptimisation is needed (because the state of the solver interface has been modified).
Reimplemented from BlisConGenerator.
| int VrpCutGenerator::connectivityCuts | ( | BcpsConstraintPool & | conPool | ) |
| int VrpCutGenerator::addVrpCut | ( | BcpsConstraintPool & | conPool, | |
| char * | coef, | |||
| int | rhs, | |||
| int | type | |||
| ) |
| void VrpCutGenerator::setModel | ( | VrpModel * | vrp | ) | [inline] |
| int VrpCutGenerator::greedyShrinking1 | ( | VrpModel * | m, | |
| int | max_shrink_cuts, | |||
| BcpsConstraintPool & | conPool | |||
| ) |
| int VrpCutGenerator::greedyShrinking1One | ( | VrpModel * | m, | |
| int | max_shrink_cuts, | |||
| BcpsConstraintPool & | conPool | |||
| ) |
| int VrpCutGenerator::greedyShrinking6 | ( | VrpModel * | m, | |
| int | max_shrink_cuts, | |||
| int | trial_num, | |||
| double | prob, | |||
| BcpsConstraintPool & | conPool | |||
| ) |
| int VrpCutGenerator::greedyShrinking6One | ( | VrpModel * | m, | |
| int | max_shrink_cuts, | |||
| int | trial_num, | |||
| double | prob, | |||
| BcpsConstraintPool & | conPool | |||
| ) |
| int VrpCutGenerator::greedyShrinking2One | ( | VrpModel * | m, | |
| int | max_shrink_cuts, | |||
| BcpsConstraintPool & | conPool | |||
| ) |
VrpModel* VrpCutGenerator::model_ [private] |
The client model.
Reimplemented from BlisConGenerator.
Definition at line 38 of file VrpCutGenerator.h.
Referenced by setModel().
char** VrpCutGenerator::coef_list [private] |
Definition at line 39 of file VrpCutGenerator.h.
int* VrpCutGenerator::ref_ [private] |
double* VrpCutGenerator::cutVal_ [private] |
char* VrpCutGenerator::cutList_ [private] |
char* VrpCutGenerator::inSet_ [private] |
1.4.7