lemon-project-template-glpk

diff deps/glpk/examples/iptsamp.c @ 9:33de93886c88

Import GLPK 4.47
author Alpar Juttner <alpar@cs.elte.hu>
date Sun, 06 Nov 2011 20:59:10 +0100
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/deps/glpk/examples/iptsamp.c	Sun Nov 06 20:59:10 2011 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +/* iptsamp.c */
     1.5 +
     1.6 +#include <stdio.h>
     1.7 +#include <stdlib.h>
     1.8 +#include <glpk.h>
     1.9 +
    1.10 +int main(void)
    1.11 +{     glp_prob *P;
    1.12 +      P = glp_create_prob();
    1.13 +      glp_read_mps(P, GLP_MPS_DECK, NULL, "25fv47.mps");
    1.14 +      glp_interior(P, NULL);
    1.15 +      glp_print_ipt(P, "25fv47.txt");
    1.16 +      glp_delete_prob(P);
    1.17 +      return 0;
    1.18 +}
    1.19 +
    1.20 +/* eof */