source: trunk/Cbc/src/CbcSolverExpandKnapsack.hpp @ 1899

Last change on this file since 1899 was 1899, checked in by stefan, 6 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 stefan $ */
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
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
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
27#endif
28
Note: See TracBrowser for help on using the repository browser.