author | Alpar Juttner <alpar@cs.elte.hu> |
Mon, 06 Dec 2010 13:09:21 +0100 | |
changeset 1 | c445c931472f |
permissions | -rw-r--r-- |
alpar@1 | 1 |
/* iptsamp.c */ |
alpar@1 | 2 |
|
alpar@1 | 3 |
#include <stdio.h> |
alpar@1 | 4 |
#include <stdlib.h> |
alpar@1 | 5 |
#include <glpk.h> |
alpar@1 | 6 |
|
alpar@1 | 7 |
int main(void) |
alpar@1 | 8 |
{ glp_prob *P; |
alpar@1 | 9 |
P = glp_create_prob(); |
alpar@1 | 10 |
glp_read_mps(P, GLP_MPS_DECK, NULL, "25fv47.mps"); |
alpar@1 | 11 |
glp_interior(P, NULL); |
alpar@1 | 12 |
glp_print_ipt(P, "25fv47.txt"); |
alpar@1 | 13 |
glp_delete_prob(P); |
alpar@1 | 14 |
return 0; |
alpar@1 | 15 |
} |
alpar@1 | 16 |
|
alpar@1 | 17 |
/* eof */ |