Couenne
0.5.8
src
bound_tightening
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
30
CouenneMultiVarProbe
(
CouenneSetup
* couenne,
31
const
Ipopt::SmartPtr<Ipopt::OptionsList>
options);
32
34
CouenneMultiVarProbe
(
const
CouenneMultiVarProbe
& rhs);
35
37
~CouenneMultiVarProbe
();
38
40
CouenneMultiVarProbe
*
clone
()
const
41
{
return
new
CouenneMultiVarProbe
(*
this
);}
42
44
void
generateCuts
(
const
OsiSolverInterface
& solver,
45
OsiCuts
& cuts,
46
const
CglTreeInfo
=
CglTreeInfo
())
const
;
47
48
protected
:
49
51
CouenneSetup
*
couenne_
;
52
54
int
numCols_
;
55
57
double
maxTime_
;
58
};
59
}
60
61
#endif
Couenne::CouenneMultiVarProbe
Definition:
CouenneMultiVarProbe.hpp:25
CglTreeInfo
BonCouenneSetup.hpp
Couenne::CouenneMultiVarProbe::CouenneMultiVarProbe
CouenneMultiVarProbe(const CouenneMultiVarProbe &rhs)
Copy constructor.
Couenne::CouenneMultiVarProbe::generateCuts
void generateCuts(const OsiSolverInterface &solver, OsiCuts &cuts, const CglTreeInfo=CglTreeInfo()) const
The main CglCutGenerator; not implemented yet.
Couenne::CouenneSetup
Definition:
BonCouenneSetup.hpp:43
OsiSolverInterface.hpp
Couenne
general include file for different compilers
Definition:
CouenneAggrProbing.hpp:24
BonRegisteredOptions.hpp
Couenne::CouenneMultiVarProbe::~CouenneMultiVarProbe
~CouenneMultiVarProbe()
Destructor.
Couenne::CouenneMultiVarProbe::numCols_
int numCols_
Number of columns (want to have this handy)
Definition:
CouenneMultiVarProbe.hpp:54
CglCutGenerator
Couenne::CouenneMultiVarProbe::maxTime_
double maxTime_
Maximum time to probe one variable.
Definition:
CouenneMultiVarProbe.hpp:57
Ipopt::SmartPtr< Ipopt::OptionsList >
OsiCuts
OsiSolverInterface
CouenneProblem.hpp
Couenne::CouenneMultiVarProbe::couenne_
CouenneSetup * couenne_
Pointer to the CouenneProblem representation.
Definition:
CouenneMultiVarProbe.hpp:51
Couenne::CouenneMultiVarProbe::clone
CouenneMultiVarProbe * clone() const
Clone method (necessary for the abstract CglCutGenerator class)
Definition:
CouenneMultiVarProbe.hpp:40
CglCutGenerator.hpp
BonOaDecBase.hpp
OsiColCut.hpp
Couenne::CouenneMultiVarProbe::CouenneMultiVarProbe
CouenneMultiVarProbe(CouenneSetup *couenne, const Ipopt::SmartPtr< Ipopt::OptionsList > options)
Constructor.
Generated by
1.8.18