source: stable/2.7/Cbc/src/CbcSolverExpandKnapsack.hpp

Last change on this file was 1752, checked in by tkr, 8 years ago

Merging r1750 and r1751 from trunk

File size: 1.0 KB
RevLine 
[1398]1/* $Id: CbcSolverExpandKnapsack.hpp 1212 2009-08-21 16:19:13Z forrest $ */
2// Copyright (C) 2007, International Business Machines
3// Corporation and others.  All Rights Reserved.
[1573]4// This code is licensed under the terms of the Eclipse Public License (EPL).
[1398]5
[1573]6
[1398]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
16OsiSolverInterface *
17expandKnapsack(CoinModel & model, int * whichColumn, int * knapsackStart,
18               int * knapsackRow, int &numberKnapsack,
19               CglStored & stored, int logLevel,
20               int fixedPriority, int SOSPriority, CoinModel & tightenedModel);
21
[1752]22void
23afterKnapsack(const CoinModel & coinModel2, const int * whichColumn, const int * knapsackStart,
24              const int * knapsackRow, int numberKnapsack,
25              const double * knapsackSolution, double * solution, int logLevel);
26
[1398]27#endif
[1432]28
Note: See TracBrowser for help on using the repository browser.