author | Alpar Juttner <alpar@cs.elte.hu> |
Sun, 05 Dec 2010 17:35:23 +0100 | |
changeset 2 | 4c8956a7bdf4 |
permissions | -rw-r--r-- |
1 /* spxsamp1.c */
3 #include <stdio.h>
4 #include <stdlib.h>
5 #include <glpk.h>
7 int main(void)
8 { glp_prob *P;
9 P = glp_create_prob();
10 glp_read_mps(P, GLP_MPS_DECK, NULL, "25fv47.mps");
11 glp_adv_basis(P, 0);
12 glp_simplex(P, NULL);
13 glp_print_sol(P, "25fv47.txt");
14 glp_delete_prob(P);
15 return 0;
16 }
18 /* eof */