On 08/30/2017 08:13 PM, Simone Atzeni wrote:
> Heinrich,
>
> looking at the thread example I added the glp_config("TLS”) check and I was
> getting a undefined reference which made me realized that for some reason I
> was linking to a wrong and old GLPK library instead of the one manually
>
Heinrich,
looking at the thread example I added the glp_config("TLS”) check and I was
getting a undefined reference which made me realized that for some reason I was
linking to a wrong and old GLPK library instead of the one manually compiled by
me.
So it’s all good now.
Thanks for your
On 08/30/2017 07:23 PM, Simone Atzeni wrote:
> Hi Heinrich,
>
> you mean the line:
>
> std::string filename = "ilp_problem" + std::to_string(rand()) + ".lp”;
>
> or the problem name:
>
> glp_set_prob_name(mip, "overlap”);
>
> The filename is not used at all in the function, it was just
Hello Simone,
in your program all threads create random file names that are generated
from the same name space. The initial value of the random number
generator probably will be the same for all threads. This will lead to
two threads trying to write the same file.
Either use a Singleton for the
> I want to set overall simplex parameters for an integer (linear)
> optimization. I am little bit confused, that I “only” can use
> glp_simplex (where I can set parameters like pricing, meth, etc.)
> prior to the integer optimization. But then the MILP has no presolve
> option and I seems that