min activities in a building

Started by Benahmed Abdelkrim, February 28, 2026, 11:14:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Benahmed Abdelkrim

B.A/krim

Liviu Lalescu

I just put a new version, even further optimization. fet-7.8.0-nsrt3.

Please let me know!

Liviu Lalescu

I mean, it (fet-7.8.0-nsrt3) is ready for testing. (You might want to check a bit also old9a/nsrt2, but just a bit - it should be slower.)

Benahmed Abdelkrim

I'm testing the attached file below with the same random seeds using the three latest versions: 7.8.0 nsrt, nsrt2 and nsrt3.
random seeds:
s10=3385507001, s11=3350186166, s12=3250444770,
s20=1795543818, s21=3245662932, s22=1143393762
B.A/krim

Liviu Lalescu

OK, I'll wait for your results (I might try it also myself a bit). nsrt might give a different seed at the end, nsrt2 and nsrt3 should give the same seed at the end.

Benahmed Abdelkrim

with fet-7.8.0 nsrt, generation time= 8m 14s
with fet-7.8.0 nsrt2, generation time= 14m 42s
with fet-7.8.0 nsrt3, generation time= 8m 45s
B.A/krim

Benahmed Abdelkrim

Quote from: Liviu Lalescu on March 13, 2026, 03:18:01 PMnsrt might give a different seed at the end, nsrt2 and nsrt3 should give the same seed at the end.
Yes, indeed.
B.A/krim

Liviu Lalescu

You might want to generate multiple nsrt3. I attach my tests as screenshot.

I think it was bad luck in your test with nsrt2 and nsrt3, and luck with nsrt.

Benahmed Abdelkrim

All three managed to place 452 activities in a few seconds, but struggled to place the last two.
B.A/krim

Liviu Lalescu

Yes, indeed, so on mine. (I slightly modified my previous post.)

Liviu Lalescu

I did another thing, and I am waiting to compile, and I will think some more. I'll try on your latest example. Indeed, it has a bad behavior.

Benahmed Abdelkrim

I tried multiple generation with nsrt3. I attach a screenshot...
B.A/krim

Liviu Lalescu

I won't give up!!!  :)  I have another idea, I'll try now (again, complicated!!!).

I'll let you know.

Liviu Lalescu

We did it, Benahmed!!!  :)  I made a very nice optimization and difficult. I attach the screenshot.

I will compile Windows and put nsrt4 in 20-30 minutes.

Please stay tuned.

Benahmed Abdelkrim

Thank you for your effort! you worked hard.
I hope the test will be successful this time.
B.A/krim