source: branches/devel/Bonmin/src/CbcBonmin/BonCbcLpStrategy.hpp @ 57

Last change on this file since 57 was 57, checked in by pbonami, 13 years ago

Rename file with Bon prefix part II

  • Property svn:eol-style set to native
  • Property svn:keywords set to "Author Date Id Revision"
File size: 1.5 KB
Line 
1// (C) Copyright Carnegie Mellon University 2006
2// All Rights Reserved.
3// This code is published under the Common Public License.
4//
5// Authors :
6// Pierre Bonami, Carnegie Mellon University,
7//
8// Date : 03/15/2006
9
10
11#ifndef CbcOaStrategy_HPP
12#define CbcOaStrategy_HPP
13
14#include "CbcStrategy.hpp"
15namespace Bonmin{
16/** A class to pass on a CbcStrategy to OA sub-milp solver.
17 This class allows to setup GMI, MIR, probing and cover cuts frequency.
18Number of variables to strong branch on and minimum number of branches on a variable before its
19pseudo-cost is to be trusted.*/
20class CbcOaStrategy : public CbcStrategy
21{
22public:
23  /// Default constructor
24  CbcOaStrategy(
25    int migFreq = -5,
26    int probFreq = -5,
27    int mirFreq = -5,
28    int coverFreq = -5,
29    int minReliability = 8,
30    int numberStrong = 20,
31    int nodeSelection = 0,
32    double intTol = 1e-05,
33    int logLevel = 0);
34  /// Destructor
35  virtual ~CbcOaStrategy()
36  {}
37
38  /// Virtual copy constructor
39  virtual CbcStrategy * clone () const;
40
41  /// Setup cut generators
42  virtual void setupCutGenerators(CbcModel & model);
43  /// Setup heuristics
44  virtual void setupHeuristics(CbcModel & model);
45  /// Do printing stuff
46  virtual void setupPrinting(CbcModel & model,int modelLogLevel);
47  /// Other stuff e.g. strong branching and preprocessing
48  virtual void setupOther(CbcModel & model);
49
50
51private:
52  int migFreq_;
53  int probFreq_;
54  int mirFreq_;
55  int coverFreq_;
56  int minReliability_;
57  int numberStrong_;
58  int nodeSelection_;
59  double intTol_;
60  int logLevel_;
61};
62}
63#endif
Note: See TracBrowser for help on using the repository browser.