File: iptsamp.c

package info (click to toggle)
glpk 5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,620 kB
  • sloc: ansic: 78,036; sh: 11,184; fortran: 207; makefile: 206; sql: 142; cs: 83
file content (17 lines) | stat: -rw-r--r-- 317 bytes parent folder | download | duplicates (9)
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 */