source:
lemon-project-template-glpk/deps/glpk/examples/iptsamp.c
Last change on this file was 9:33de93886c88, checked in by , 13 years ago | |
---|---|
File size: 317 bytes |
Line | |
---|---|
1 | /* iptsamp.c */ |
2 | |
3 | #include <stdio.h> |
4 | #include <stdlib.h> |
5 | #include <glpk.h> |
6 | |
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_interior(P, NULL); |
12 | glp_print_ipt(P, "25fv47.txt"); |
13 | glp_delete_prob(P); |
14 | return 0; |
15 | } |
16 | |
17 | /* eof */ |
Note: See TracBrowser
for help on using the repository browser.