Alps
2.0.2
|
Add a pointer to function member which will allow a client to install their own decision algorithm to decide whether or not to call the CGL generateCuts
method. Create a default decision method that looks at the builtin criteria.
It strikes me as not good that generateCuts contains code specific to individual CGL algorithms. Another set of pointer to function members, so that the client can specify the cut generation method as well as pre- and post-generation methods? Taken a bit further, should this class contain a bunch of pointer to function members, one for each of the places where the cut generator might be referenced? Initialization, root node, search tree node, discovery of solution, and termination all come to mind. Initialization and termination would also be useful for instrumenting sbb.
Add a pointer to function member which will allow a client to install their own decision algorithm to decide whether or not to call the CGL generateCuts
method. Create a default decision method that looks at the builtin criteria.
It strikes me as not good that generateCuts contains code specific to individual CGL algorithms. Another set of pointer to function members, so that the client can specify the cut generation method as well as pre- and post-generation methods? Taken a bit further, should this class contain a bunch of pointer to function members, one for each of the places where the cut generator might be referenced? Initialization, root node, search tree node, discovery of solution, and termination all come to mind. Initialization and termination would also be useful for instrumenting sbb.
Add a pointer to function member which will allow a client to install their own decision algorithm to decide whether or not to call the CGL generateCuts
method. Create a default decision method that looks at the builtin criteria.
It strikes me as not good that generateCuts contains code specific to individual CGL algorithms. Another set of pointer to function members, so that the client can specify the cut generation method as well as pre- and post-generation methods? Taken a bit further, should this class contain a bunch of pointer to function members, one for each of the places where the cut generator might be referenced? Initialization, root node, search tree node, discovery of solution, and termination all come to mind. Initialization and termination would also be useful for instrumenting sbb.