diff -r d59bea55db9b -r c445c931472f examples/spxsamp2.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/spxsamp2.c Mon Dec 06 13:09:21 2010 +0100 @@ -0,0 +1,20 @@ +/* spxsamp2.c */ + +#include +#include +#include + +int main(void) +{ glp_prob *P; + glp_smcp parm; + P = glp_create_prob(); + glp_read_mps(P, GLP_MPS_DECK, NULL, "25fv47.mps"); + glp_init_smcp(&parm); + parm.meth = GLP_DUAL; + glp_simplex(P, &parm); + glp_print_sol(P, "25fv47.txt"); + glp_delete_prob(P); + return 0; +} + +/* eof */