diff options
Diffstat (limited to 'glpk-5.0/examples/iptsamp.c')
-rw-r--r-- | glpk-5.0/examples/iptsamp.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/glpk-5.0/examples/iptsamp.c b/glpk-5.0/examples/iptsamp.c new file mode 100644 index 0000000..d622d73 --- /dev/null +++ b/glpk-5.0/examples/iptsamp.c @@ -0,0 +1,17 @@ +/* iptsamp.c */ + +#include <stdio.h> +#include <stdlib.h> +#include <glpk.h> + +int main(void) +{ glp_prob *P; + P = glp_create_prob(); + glp_read_mps(P, GLP_MPS_DECK, NULL, "25fv47.mps"); + glp_interior(P, NULL); + glp_print_ipt(P, "25fv47.txt"); + glp_delete_prob(P); + return 0; +} + +/* eof */ |