VrpCutGenerator Class Reference
#include <VrpCutGenerator.h>
List of all members.
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_ |
Detailed Description
Definition at line 34 of file VrpCutGenerator.h.
Constructor & Destructor Documentation
VrpCutGenerator::VrpCutGenerator |
( |
VrpModel * |
vrp = 0 , |
|
|
int |
vertnum = 0 | |
|
) |
| | |
virtual VrpCutGenerator::~VrpCutGenerator |
( |
|
) |
[inline, virtual] |
Member Function Documentation
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::addVrpCut |
( |
BcpsConstraintPool & |
conPool, |
|
|
char * |
coef, |
|
|
int |
rhs, |
|
|
int |
type | |
|
) |
| | |
void VrpCutGenerator::setModel |
( |
VrpModel * |
vrp |
) |
[inline] |
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 | |
|
) |
| | |
Member Data Documentation
The documentation for this class was generated from the following file: