source: trunk/Cbc/src/CbcSolverExpandKnapsack.hpp

Last change on this file was 2465, checked in by unxusr, 5 months ago

script to format sources

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 955 bytes
Line 
1/* $Id: CbcSolverExpandKnapsack.hpp 2465 2019-01-03 19:26:52Z 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/*! \file CbcSolverExpandKnapsack.hpp
7    \brief Expanding possibilities of x*y, where x*y are both integers, constructing
8  a knapsack constraint. Results in a tighter model.
9*/
10
11#ifndef CbcSolverExpandKnapsack_H
12#define CbcSolverExpandKnapsack_H
13
14OsiSolverInterface *
15expandKnapsack(CoinModel &model, int *whichColumn, int *knapsackStart,
16  int *knapsackRow, int &numberKnapsack,
17  CglStored &stored, int logLevel,
18  int fixedPriority, int SOSPriority, CoinModel &tightenedModel);
19
20void afterKnapsack(const CoinModel &coinModel2, const int *whichColumn, const int *knapsackStart,
21  const int *knapsackRow, int numberKnapsack,
22  const double *knapsackSolution, double *solution, int logLevel);
23
24#endif
25
26/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
27*/
Note: See TracBrowser for help on using the repository browser.