You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
317 B

3 months ago
  1. /* iptsamp.c */
  2. #include <stdio.h>
  3. #include <stdlib.h>
  4. #include <glpk.h>
  5. int main(void)
  6. { glp_prob *P;
  7. P = glp_create_prob();
  8. glp_read_mps(P, GLP_MPS_DECK, NULL, "25fv47.mps");
  9. glp_interior(P, NULL);
  10. glp_print_ipt(P, "25fv47.txt");
  11. glp_delete_prob(P);
  12. return 0;
  13. }
  14. /* eof */