Couenne 0.5.8
CouenneMultiVarProbe.hpp
Go to the documentation of this file.
1/* $Id: CouenneMultiVarProbe.hpp 490 2011-01-14 16:07:12Z pbelotti $
2 *
3 * Name: CouenneMultiVarProbe.hpp
4 * Author: Pietro Belotti
5 * Purpose: Bound tightening using more than one variable
6 *
7 * (C) Pietro Belotti, 2010.
8 * This file is licensed under the Eclipse Public License (EPL)
9 */
10
11#ifndef COUENNEMULTIVARPROBE_HPP
12#define COUENNEMULTIVARPROBE_HPP
13
15
16#include "BonOaDecBase.hpp"
17#include "CglCutGenerator.hpp"
18#include "OsiColCut.hpp"
20#include "CouenneProblem.hpp"
21#include "BonCouenneSetup.hpp"
22
23namespace Couenne {
24
26
27 public:
28
32
35
38
41 {return new CouenneMultiVarProbe (*this);}
42
44 void generateCuts(const OsiSolverInterface & solver,
45 OsiCuts& cuts,
46 const CglTreeInfo = CglTreeInfo ()) const;
47
48 protected:
49
52
55
57 double maxTime_;
58 };
59}
60
61#endif
void generateCuts(const OsiSolverInterface &solver, OsiCuts &cuts, const CglTreeInfo=CglTreeInfo()) const
The main CglCutGenerator; not implemented yet.
CouenneMultiVarProbe * clone() const
Clone method (necessary for the abstract CglCutGenerator class)
CouenneSetup * couenne_
Pointer to the CouenneProblem representation.
CouenneMultiVarProbe(CouenneSetup *couenne, const Ipopt::SmartPtr< Ipopt::OptionsList > options)
Constructor.
CouenneMultiVarProbe(const CouenneMultiVarProbe &rhs)
Copy constructor.
int numCols_
Number of columns (want to have this handy)
double maxTime_
Maximum time to probe one variable.
general include file for different compilers