Last change
on this file since 2180 was
1899,
checked in by stefan, 7 years ago
|
fixup svn properties
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
975 bytes
|
Line | |
---|
1 | /* $Id: CbcSolverExpandKnapsack.hpp 1899 2013-04-09 18:12:08Z forrest $ */ |
---|
2 | // Copyright (C) 2007, International Business Machines |
---|
3 | // Corporation and others. All Rights Reserved. |
---|
4 | // This code is licensed under the terms of the Eclipse Public License (EPL). |
---|
5 | |
---|
6 | |
---|
7 | /*! \file CbcSolverExpandKnapsack.hpp |
---|
8 | \brief Expanding possibilities of x*y, where x*y are both integers, constructing |
---|
9 | a knapsack constraint. Results in a tighter model. |
---|
10 | */ |
---|
11 | |
---|
12 | |
---|
13 | #ifndef CbcSolverExpandKnapsack_H |
---|
14 | #define CbcSolverExpandKnapsack_H |
---|
15 | |
---|
16 | OsiSolverInterface * |
---|
17 | expandKnapsack(CoinModel & model, int * whichColumn, int * knapsackStart, |
---|
18 | int * knapsackRow, int &numberKnapsack, |
---|
19 | CglStored & stored, int logLevel, |
---|
20 | int fixedPriority, int SOSPriority, CoinModel & tightenedModel); |
---|
21 | |
---|
22 | void |
---|
23 | afterKnapsack(const CoinModel & coinModel2, const int * whichColumn, const int * knapsackStart, |
---|
24 | const int * knapsackRow, int numberKnapsack, |
---|
25 | const double * knapsackSolution, double * solution, int logLevel); |
---|
26 | |
---|
27 | #endif |
---|
28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.