demo/mip_demo.cc
changeset 2500 9d9855af1de1
parent 2391 14a343be7a5a
child 2553 bfced05fa852
equal deleted inserted replaced
3:4c850a7910ec 4:2e58c221031d
    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;