COIN-OR::LEMON - Graph Library

source: lemon-project-template-glpk/deps/glpk/examples/spxsamp1.c @ 11:4fc6ad2fb8a6

subpack-glpk
Last change on this file since 11:4fc6ad2fb8a6 was 9:33de93886c88, checked in by Alpar Juttner <alpar@…>, 13 years ago

Import GLPK 4.47

File size: 344 bytes
Line 
1/* spxsamp1.c */
2
3#include <stdio.h>
4#include <stdlib.h>
5#include <glpk.h>
6
7int 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}
17
18/* eof */
Note: See TracBrowser for help on using the repository browser.