| ... | ... |
@@ -17,27 +17,28 @@ |
| 17 | 17 |
*/ |
| 18 | 18 |
|
| 19 | 19 |
#ifndef LEMON_GLPK_H |
| 20 | 20 |
#define LEMON_GLPK_H |
| 21 | 21 |
|
| 22 | 22 |
///\file |
| 23 | 23 |
///\brief Header of the LEMON-GLPK lp solver interface. |
| 24 | 24 |
///\ingroup lp_group |
| 25 | 25 |
|
| 26 | 26 |
#include <lemon/lp_base.h> |
| 27 | 27 |
|
| 28 | 28 |
// forward declaration |
| 29 |
# |
|
| 29 |
#if !defined _GLP_PROB && !defined GLP_PROB |
|
| 30 | 30 |
#define _GLP_PROB |
| 31 |
|
|
| 31 |
#define GLP_PROB |
|
| 32 |
typedef struct { double _opaque_prob; } glp_prob;
|
|
| 32 | 33 |
/* LP/MIP problem object */ |
| 33 | 34 |
#endif |
| 34 | 35 |
|
| 35 | 36 |
namespace lemon {
|
| 36 | 37 |
|
| 37 | 38 |
|
| 38 | 39 |
/// \brief Base interface for the GLPK LP and MIP solver |
| 39 | 40 |
/// |
| 40 | 41 |
/// This class implements the common interface of the GLPK LP and MIP solver. |
| 41 | 42 |
/// \ingroup lp_group |
| 42 | 43 |
class GlpkBase : virtual public LpBase {
|
| 43 | 44 |
protected: |
0 comments (0 inline)