FET Forum

FET Support (English) => Programming Help => Topic started by: Liviu Lalescu on January 18, 2017, 06:21:07 PM

Title: An unofficial FET bitbucket repository - by rodolforg
Post by: Liviu Lalescu on January 18, 2017, 06:21:07 PM
I discovered this: https://bitbucket.org/rodolforg/fet/

Thank you, rodolforg, for doing this work! I wish you success!

I checked some commits. They are interesting.

I see you would like to add a new constraint, teachers max span per day (so teachers do not stay at school for more than say 9 hours in a row). Your code might work, but unfortunately to add it in a perfect way is much more complicated; the generation must take care also of the interaction with other constraints. But I'll add you with this suggestion (I think also Vangelis Karafillidis suggested this).

Later edit: This was in the TODO, item #252. I added you as another person suggesting this.
Title: Re: An unofficial FET bitbucket repository - by rodolforg
Post by: rodolforg on February 02, 2017, 01:13:14 AM
Thank you, Liviu.
Do you prefer I change the Readme to state that is not an official version?
Title: Re: An unofficial FET bitbucket repository - by rodolforg
Post by: Liviu Lalescu on February 02, 2017, 07:52:38 AM
It might be better, but do as you consider best.

I will add a link to your repository in the Tools/Links. If you agree, let me know, and tell me the description you want there (similar to the other entries). I prefer the link to contain "unofficial, contributed by..." or similar.
Title: Re: An unofficial FET bitbucket repository - by rodolforg
Post by: Liviu Lalescu on February 02, 2017, 05:39:12 PM
I added a link in the Tools/Links section, please let me know if you want anything changed/improved.
Title: Re: An unofficial FET bitbucket repository - by rodolforg
Post by: rodolforg on February 02, 2017, 08:11:08 PM
Quote from: Liviu Lalescu on February 02, 2017, 05:39:12 PM
I added a link in the Tools/Links section, please let me know if you want anything changed/improved.

It is fine, for me.

Quote from: Liviu Lalescu on January 18, 2017, 06:21:07 PM
I see you would like to add a new constraint, teachers max span per day (so teachers do not stay at school for more than say 9 hours in a row). Your code might work, but unfortunately to add it in a perfect way is much more complicated; the generation must take care also of the interaction with other constraints.

Theses changes were based on a code you suggested in another forum topic. However, it does not work always, and I can't see why. Sometimes, after I reopen the generated .fet with the saved solution, I regenerate the timetable and FET yells the solution is impossible (because it disobeys the techer max span per day...)
Title: Re: An unofficial FET bitbucket repository - by rodolforg
Post by: Liviu Lalescu on February 03, 2017, 05:17:34 PM
I split the talk about teachers' max span per day in a new topic, here: http://lalescu.ro/liviu/fet/forum/index.php?topic=3039.0