Folks,

        For those of you interested in glpk 4.17, the following patch works for
me:


      /* if the basis header is still valid, adjust it */
      if (lp->valid)
      {  int m = lp->m;
         int *basis = lp->basis;
         for (j = 1; j <= n_new; j++)
         {  k = lp->col[j]->bind;
            if (k != 0)
            {  xassert(1 <= k && k <= m);
               basis[k] = m + j;
            }
         }
      }

This is just the 4.18 patch posted by Andrew, tweaked for 4.17 variable names.
It's of interest to me (and perhaps others) because 4.18 segfaults in Coin for
reasons that still escape me, while 4.17 works just fine.

                                                        Lou



_______________________________________________
Bug-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-glpk

Reply via email to