Expanding possibilities of x*y, where x*y are both integers, constructing a knapsack constraint. More...
Go to the source code of this file.
Functions | |
OsiSolverInterface * | expandKnapsack (CoinModel &model, int *whichColumn, int *knapsackStart, int *knapsackRow, int &numberKnapsack, CglStored &stored, int logLevel, int fixedPriority, int SOSPriority, CoinModel &tightenedModel) |
void | afterKnapsack (const CoinModel &coinModel2, const int *whichColumn, const int *knapsackStart, const int *knapsackRow, int numberKnapsack, const double *knapsackSolution, double *solution, int logLevel) |
Expanding possibilities of x*y, where x*y are both integers, constructing a knapsack constraint.
Results in a tighter model.
Definition in file CbcSolverExpandKnapsack.hpp.
OsiSolverInterface* expandKnapsack | ( | CoinModel & | model, | |
int * | whichColumn, | |||
int * | knapsackStart, | |||
int * | knapsackRow, | |||
int & | numberKnapsack, | |||
CglStored & | stored, | |||
int | logLevel, | |||
int | fixedPriority, | |||
int | SOSPriority, | |||
CoinModel & | tightenedModel | |||
) |
void afterKnapsack | ( | const CoinModel & | coinModel2, | |
const int * | whichColumn, | |||
const int * | knapsackStart, | |||
const int * | knapsackRow, | |||
int | numberKnapsack, | |||
const double * | knapsackSolution, | |||
double * | solution, | |||
int | logLevel | |||
) |