summaryrefslogtreecommitdiff
path: root/glpk-5.0/examples/iptsamp.c
blob: d622d73617927ea56aca927dbaf44cdc41b970c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* iptsamp.c */

#include <stdio.h>
#include <stdlib.h>
#include <glpk.h>

int main(void)
{     glp_prob *P;
      P = glp_create_prob();
      glp_read_mps(P, GLP_MPS_DECK, NULL, "25fv47.mps");
      glp_interior(P, NULL);
      glp_print_ipt(P, "25fv47.txt");
      glp_delete_prob(P);
      return 0;
}

/* eof */