Hi,

the glp_copy_prob() does not create name index in glpk 4.33.
The patch solves the problem.

Best, Balazs
*** src/glpapi01.c~	Thu Oct 30 10:00:00 2008
--- src/glpapi01.c	Sat Nov  8 13:37:41 2008
***************
*** 1254,1259 ****
--- 1254,1261 ----
           xerror("glp_copy_prob: names = %d; invalid parameter\n",
              names);
        glp_erase_prob(dest);
+       if (names && prob->r_tree != NULL)
+          glp_create_index(dest);
        if (names && prob->name != NULL)
           glp_set_prob_name(dest, prob->name);
        if (names && prob->obj != NULL)
_______________________________________________
Bug-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-glpk

Reply via email to