alpar@1: /* spxsamp2.c */ alpar@1: alpar@1: #include alpar@1: #include alpar@1: #include alpar@1: alpar@1: int main(void) alpar@1: { glp_prob *P; alpar@1: glp_smcp parm; alpar@1: P = glp_create_prob(); alpar@1: glp_read_mps(P, GLP_MPS_DECK, NULL, "25fv47.mps"); alpar@1: glp_init_smcp(&parm); alpar@1: parm.meth = GLP_DUAL; alpar@1: glp_simplex(P, &parm); alpar@1: glp_print_sol(P, "25fv47.txt"); alpar@1: glp_delete_prob(P); alpar@1: return 0; alpar@1: } alpar@1: alpar@1: /* eof */