BlockIPPlatform
 All Classes Files Functions Variables
OsiSymphony.h
Go to the documentation of this file.
1 
6 #ifndef OSI_SYMPHONY_H
7 #define OSI_SYMPHONY_H
8 #ifdef SYMPHONY_
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 
22 #include "OsiSolver.h"
23 #include "OsiSymSolverInterface.hpp"
24 #include "symphony.h"
25 
27 class EXPDLL OsiSymphony : public OsiSolver {
28  private:
29  OsiSymSolverInterface *ssi;
30 
31  public:
32  // Constructor
33  OsiSymphony();
34 
35  // Destructor
36  ~OsiSymphony();
37 
38  // Solve the problem loaded with Symphony
39  STATUS solve();
40 };
41 
42 #endif //SYMPHONY_
43 #endif //OSI_SYMPHONY_H