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

Last change on this file since 2464 was 2464, checked in by unxusr, 6 months ago

.clang-format with proposal for formatting code

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 897 bytes
Line 
1/* $Id: CbcSolverExpandKnapsack.hpp 2464 2019-01-03 19:03:23Z unxusr $ */
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
Note: See TracBrowser for help on using the repository browser.