lemon-project-template-glpk

annotate deps/glpk/examples/iptsamp.c @ 9:33de93886c88

Import GLPK 4.47
author Alpar Juttner <alpar@cs.elte.hu>
date Sun, 06 Nov 2011 20:59:10 +0100
parents
children
rev   line source
alpar@9 1 /* iptsamp.c */
alpar@9 2
alpar@9 3 #include <stdio.h>
alpar@9 4 #include <stdlib.h>
alpar@9 5 #include <glpk.h>
alpar@9 6
alpar@9 7 int main(void)
alpar@9 8 { glp_prob *P;
alpar@9 9 P = glp_create_prob();
alpar@9 10 glp_read_mps(P, GLP_MPS_DECK, NULL, "25fv47.mps");
alpar@9 11 glp_interior(P, NULL);
alpar@9 12 glp_print_ipt(P, "25fv47.txt");
alpar@9 13 glp_delete_prob(P);
alpar@9 14 return 0;
alpar@9 15 }
alpar@9 16
alpar@9 17 /* eof */