FET Forum

FET Development => Report a Bug => Topic started by: Benahmed Abdelkrim on February 06, 2021, 07:41:09 AM

Title: bug_nsrt
Post by: Benahmed Abdelkrim on February 06, 2021, 07:41:09 AM
Hello dear Liviu  :)
I report here a bug found with the nsrt version of fet
I attach the file and the screenshot too .
Title: Re: bug_nsrt
Post by: Liviu Lalescu on February 06, 2021, 11:51:44 AM
Hello, dear Benahmed,  :)

I am happy to talk to you again.

This bug probably appears if you have activities with duration  >= 2 and "MTR". I made a hack: I disabled that assert. I am not sure this is a good solution, but the program does not crash anymore. You might want to check the new version here: https://lalescu.ro/liviu/fet/download/custom/nsrt/
Title: Re: bug_nsrt
Post by: Benahmed Abdelkrim on February 06, 2021, 12:00:27 PM
I'm also happy to talk to you again.  The beginning of the school year was very full of new events, in addition to the Covid virus, which complicated matters a lot... Fortunately, things are improving little by little.🙂
Thank you for this new update...🙂
Title: Re: bug_nsrt
Post by: Liviu Lalescu on February 06, 2021, 12:53:34 PM
I would like to stress out that the behavior might not be what you need.

You need to check the rooms' timetables, to check for mistakes (for instance, if an activity has duration 2 or 3, it may appear in the timetable of a room with "MTR=0"). Also I am not sure about the generation procedure. You need to test also this.
Title: Re: bug_nsrt
Post by: Benahmed Abdelkrim on February 06, 2021, 06:17:56 PM
I tested the new version, it appears that it works normally. behavior is also good (the program considers the activity of duration = 2 as a single activity, so if mtr = 1 it respects a repetition for only once) . I added some time constraints so that activities of duration = 2 only appear on the second day from pm1 to pm2, as planned in advance.

I attach the same file mentioned above after adding these constraints.
thanks again. if I find another anomaly, allow me to report it here or elsewhere  :)
Title: Re: bug_nsrt
Post by: Liviu Lalescu on February 06, 2021, 06:26:44 PM
I'm glad it works!  :)

(but I admit I do not quite like the current version, it is not perfect  :(  ).
Title: Re: bug_nsrt
Post by: Benahmed Abdelkrim on February 06, 2021, 06:49:42 PM
Quote from: Liviu Lalescu on February 06, 2021, 06:26:44 PM

(but I admit I do not quite like the current version, it is not perfect  :(  ).

... But it works in practice and that is essential. I admit it's confusing to put constraints in the comments, but I have to admit that this property is exciting and makes you think and work like a manual timetable maker. For me, on the contrary I ADMIRE it, and this version shows the power of FET to solve the problems whatever. thank you again dear Liviu for this program which continues to prove over time its usefulness and these extraordinary powers  ; :) :) :)
Title: Re: bug_nsrt
Post by: Liviu Lalescu on February 06, 2021, 06:53:06 PM
Thank you, Benahmed!  :)
Title: Re: bug_nsrt
Post by: Benahmed Abdelkrim on February 06, 2021, 06:54:55 PM
Quote from: Liviu Lalescu on February 06, 2021, 06:53:06 PM
Thank you, Benahmed!  :)

It's the truth . I'm not hiding anything...
Title: Re: bug_nsrt
Post by: Hiba Hadi on February 07, 2021, 05:57:12 AM
Quote from: Benahmed Abdelkrim on February 06, 2021, 06:54:55 PM
Quote from: Liviu Lalescu on February 06, 2021, 06:53:06 PM
Thank you, Benahmed!  :)
It's the truth . I'm not hiding anything...

I confirm.
Title: Re: bug_nsrt
Post by: Liviu Lalescu on February 08, 2021, 07:58:24 AM
 :)