bug-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-glpk] Different generated model on ARMv7 and x86-64


From: Heinrich Schuchardt
Subject: [Bug-glpk] Different generated model on ARMv7 and x86-64
Date: Sun, 6 Aug 2017 12:22:11 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

Hello Andrew,

the appended file test.mod is examples/threads/clustering.mod with
appended line

printf {t in T} "%d -> %d\n", t,  pt[t];

Essentially the line prints out part of the generated problem.

The output on x86-64 ends with:

49 -> 608
50 -> 334
Model has been successfully processed

The output on ARMv7 ends with:

49 -> 852
50 -> 472
Model has been successfully processed

How can it be that the generated model differs depending on the CPU
architecture?

If I run
printf {1..10000} "%16.15f\n", Uniform01();
I get the same result on both architectures:

0.443241402972490
Model has been successfully generated

So it is not a problem in the random number generation.

If I remove all variables and constraints from appended test.mod I also
get the same result on both architectures.

Best regards

Heinrich Schuchardt

Attachment: test.mod
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]