Couenne  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
14 #include "BonRegisteredOptions.hpp"
15 
16 #include "BonOaDecBase.hpp"
17 #include "CglCutGenerator.hpp"
18 #include "OsiColCut.hpp"
19 #include "OsiSolverInterface.hpp"
20 #include "CouenneProblem.hpp"
21 #include "BonCouenneSetup.hpp"
22 
23 namespace Couenne {
24 
25  class CouenneMultiVarProbe: public CglCutGenerator {
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 
54  int numCols_;
55 
57  double maxTime_;
58  };
59 }
60 
61 #endif
CouenneSetup * couenne_
Pointer to the CouenneProblem representation.
int numCols_
Number of columns (want to have this handy)
double maxTime_
Maximum time to probe one variable.
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)
~CouenneMultiVarProbe()
Destructor.
CouenneMultiVarProbe(CouenneSetup *couenne, const Ipopt::SmartPtr< Ipopt::OptionsList > options)
Constructor.