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
> comp
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 help!
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 somethi
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 something I forgot
to remove.
Thanks,
Simone
> On Aug 30, 2017, at 11:
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 f
Yes, I run the following command:
"../configure --prefix=$HOME/usr --with-gmp”
attached the output of “config”.
I am working on a Red Hat Enterprise Linux Server release 7.3.
Thanks.
Simone
../configure --prefix=$HOME/usr --with-gmp
checking for a BSD-compatible install... /usr/bin/install -c
> 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 th