equal
deleted
inserted
replaced
14 * express or implied, and with no claim as to its suitability for any |
14 * express or implied, and with no claim as to its suitability for any |
15 * purpose. |
15 * purpose. |
16 * |
16 * |
17 */ |
17 */ |
18 |
18 |
|
19 |
|
20 ///\ingroup demos |
|
21 ///\file |
|
22 ///\brief Mixed integer program solver demo |
|
23 /// |
|
24 /// This example shows how can we solve an integer program with lemon |
|
25 /// \c Mip interface and with default solver. |
|
26 /// |
|
27 /// \include mip_demo.cc |
|
28 |
19 #include <lemon/lp.h> |
29 #include <lemon/lp.h> |
20 //#include <lemon/ilp_glpk.h> |
|
21 |
30 |
22 using namespace lemon; |
31 using namespace lemon; |
23 |
32 |
24 int main(){ |
33 int main(){ |
25 |
|
26 //MipGlpk ilp; |
|
27 |
34 |
28 Mip ilp; |
35 Mip ilp; |
29 |
36 |
30 |
37 |
31 typedef Mip::Row Row; |
38 typedef Mip::Row Row; |