BlockIPPlatform
 All Classes Files Functions Variables
OsiCbc.h
Go to the documentation of this file.
1 
6 #ifndef OSI_CBC_H
7 #define OSI_CBC_H
8 #ifdef CBC_
9 
10 #ifndef EXPDLL
11 #ifdef WIN32
12 #ifdef OSI_INTERFACE_EXPORTS
13 #define EXPDLL __declspec(dllexport)
14 #else
15 #define EXPDLL __declspec(dllimport)
16 #endif //OSI_INTERFACE_EXPORTS
17 #else
18 #define EXPDLL
19 #endif //WIN32
20 #endif //EXPDLL
21 #include "OsiSolver.h"
22 #include "CbcModel.hpp"
23 
25 class EXPDLL OsiCbc : public OsiSolver {
26  private:
27  CbcModel* Clp;
28  double consumedTime;
29 
30  public:
31  // Constructor
32  OsiCbc();
33 
34  // Destructor
35  ~OsiCbc();
36 
37  // Solve the problem loaded with Cbc
38  STATUS solve();
39 };
40 
41 #endif //CBC_
42 #endif //OSI_CBC_H