|
From: | Joey Rios |
Subject: | RE: [Help-glpk] Print names of all rows after presolve? |
Date: | Thu, 26 Jun 2008 14:48:42 -0700 |
> You can insert appropriate printing in internal routine simplex2 > (file glpapi06.c) immediately before lines 579-580 as follows: > > + { int i, ii; > + for (ii = 1; ii <= lpp->m; ii++) > + { i = lpp->row_ref[ii]; > + if (i <= glp_get_num_rows(orig)) > + printf("i = %d; name = %s\n", > + i, glp_get_row_name(orig, i)); > + } > + } > 579 /* build resultant LP problem object */ > 580 prob = lpp_build_prob(lpp); > > Thanks for the detailed reply. I don't need it now, but there is a good chance I'll give it a try in the near future. The i’m Talkathon starts 6/24/08. For now, give amongst yourselves. Learn More |
[Prev in Thread] | Current Thread | [Next in Thread] |