BonBabInfos.cpp
Go to the documentation of this file.
1 // (C) Copyright International Business Machines Corporation 2007
2 // All Rights Reserved.
3 // This code is published under the Eclipse Public License.
4 //
5 // Authors :
6 // Pierre Bonami, International Business Machines Corporation
7 //
8 // Date : 04/23/2007
9 
10 #include "BonBabInfos.hpp"
11 
12 namespace Bonmin
13 {
15  BabInfo::BabInfo(int type):
16  AuxInfo(type),
17  babPtr_(NULL)
18  {}
19 
21  BabInfo::BabInfo(const OsiBabSolver &other):
22  AuxInfo(other),
23  babPtr_(NULL)
24  {}
25 
27  BabInfo::BabInfo(const BabInfo &other):
28  AuxInfo(other),
29  babPtr_(other.babPtr_)
30  {}
31 
34  {}
35 
37  OsiAuxInfo *
39  {
40  return new BabInfo(*this);
41  }
42 }/* end namespace Bonmin*/
43 
virtual OsiAuxInfo * clone() const
Virtual copy constructor.
Definition: BonBabInfos.cpp:38
BabInfo(int type)
Default constructor.
Definition: BonBabInfos.cpp:15
virtual ~BabInfo()
Destructor.
Definition: BonBabInfos.cpp:33
Bonmin class for passing info between components of branch-and-cuts.
Definition: BonAuxInfos.hpp:23
Bonmin class for passing info between components of branch-and-cuts.
Definition: BonBabInfos.hpp:19