examples/iptsamp.c
changeset 1 c445c931472f
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/examples/iptsamp.c	Mon Dec 06 13:09:21 2010 +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 */