Cbc  2.10.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
CbcSolverExpandKnapsack.hpp File Reference

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

OsiSolverInterfaceexpandKnapsack (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)
 

Detailed Description

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.

Function Documentation

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 
)