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

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

Attempt to fix AMPL interface

File size: 1.0 KB
Line 
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.
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.