Hello Zhihao,
cen zhihao wrote: > > I want to use glpk in a parallel program. > > The linear programming problems are all same except the objective > function. > > So, I want to know how to make a copy of glp_prob object not from the very > beginning. > doc/glpk.pdf describes function void glp_copy_prob(glp_prob *dest, glp_prob *prob, int names) Please, observe that GLPK is not threadsafe due to the implementation of xalloc and xfree. Best regards Xypron -- View this message in context: http://www.nabble.com/copy-a-glp_prob-object-tp22726002p22765996.html Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com. _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
