[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] copy a glp_prob object
From: |
xypron |
Subject: |
Re: [Help-glpk] copy a glp_prob object |
Date: |
Sun, 29 Mar 2009 03:02:04 -0700 (PDT) |
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.