Fet with support for 14 weeks

Started by Deguchi, September 20, 2010, 01:11:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Deguchi

At our school we work with a 14 week semester based program.  There are some classes that are only given in some weeks as also holiday's that we want to be able to plan into Fet.
I noticed that it is possible to increase the number of days that Fet must take into account, but is it possible (via an alteration of some sort) to have Fet only take 5 days, but add a week index to those days?  So that you have Week 1 - Monday and Week 2 - Monday for example.

I do have some programming experience, so maybe if you point me into the right direction, I could make the alteration myself and post it here should it work.
I just don't want to "waste" quite some time going through the program to find out it would require the generation module to be entirely rewritten.

Hopefully you understand what I want to do with the program.  If not I would gladly give some more information.

Liviu Lalescu

#1
QuoteAt our school we work with a 14 week semester based program.  There are some classes that are only given in some weeks as also holiday's that we want to be able to plan into Fet.
I noticed that it is possible to increase the number of days that Fet must take into account,
Yes, you can increase variable MAX_DAYS_PER_WEEK, it is defined in timetable_defs.h. Then, you can:

1) In the .fet XML file, input all 14*7 days and never open the days dialog in FET (easy).
2) Modify daysform_template.ui and daysform.cpp to allow 14*7 days (complicated).

Quote
but is it possible (via an alteration of some sort) to have Fet only take 5 days, but add a week index to those days?  So that you have Week 1 - Monday and Week 2 - Monday for example.

I do have some programming experience, so maybe if you point me into the right direction, I could make the alteration myself and post it here should it work.
I just don't want to "waste" quite some time going through the program to find out it would require the generation module to be entirely rewritten.

Hopefully you understand what I want to do with the program.  If not I would gladly give some more information.

In FET, there is an array of days[0..MAX_DAYS_PER_WEEK-1]. It is possible to change the external appearance to be [0..WEEKS-1][0..4], but it is not necessary, because it is the same thing as you would input names: Monday1, Tuesday1, ..., Friday1, Monday2, ... .

If you mean you want the timetable from a week to week to be similar, it is not possible directly - you can try that by tricks/constraints.

xavier

hi, I'm interested in this topic,
and I need more help at this point:

If you mean you want the timetable from a week to week to be similar, it is not possible directly - you can try that by tricks/constraints.

anyone know what tricks to use.

situation
Week 264 days, marking time restrictions:
-a set of activities has a set of prefered time slots
-a set of activities has same starting hour (any days)
with this two constrains the activity is in the same hour, bat not in the same "day", becouse in the SET week-264 all days are diferent, no diferent days. T

Liviu Lalescu

#3
I think you need to modify these two FET constraints in the code. But I think this is not simple.

tad

I'm also interested in this.
Is the situation changed since this post in 2013?
We need around 20 weeks to be planned. Most of the courses should be on the same day and hour as the week before.
A few classes have a different system, but teacher are shared.

Kind regards
Tom

Liviu Lalescu

#5
The situation is not changed, the users above did not pursuit further their needs.

Your situation might be solvable by a custom version, but it does not look simple at all. Also, I am not sure the power of the algorithm would be enough to sustain so many weeks. But it might.

alxgudea

Hello all,
As I started tu use intensively FET, lately we ended up demanding another approach for our faculty's timetable....we would like a switch from the day- based to week-based arrangements. To be clear, some of the activities are not repertitive each week, but kind of module-based, 2/semester in certain weeks....
I have tried to change name of days and inputed "mo 8-9 to fr-15-16" but I have no separation between days but weeks only...so it is quite complicated to deal with it....
Is there any chance of a magic trick within the software so we can use all facilities( like max gaps/day, min hours between... )?

Thanks!

Liviu Lalescu

#7
Quote from: alxgudea on October 01, 2017, 08:49:01 PM
Hello all,
As I started tu use intensively FET, lately we ended up demanding another approach for our faculty's timetable....we would like a switch from the day- based to week-based arrangements. To be clear, some of the activities are not repertitive each week, but kind of module-based, 2/semester in certain weeks....
I have tried to change name of days and inputed "mo 8-9 to fr-15-16" but I have no separation between days but weeks only...so it is quite complicated to deal with it....

I do not understand ("mo 8-9 to fr 15-16" and "no separation between days but weeks").

If you want, I can help you with a custom version allowing 5*14 days per week. In fact, it is already available, see http://lalescu.ro/liviu/fet/download/custom/aliol/ (I need to update it, probably today, to add the bug fix from version 5.33.0) http://lalescu.ro/liviu/fet/download/custom/max-120-days-per-week/ .

Quote
Is there any chance of a magic trick within the software so we can use all facilities( like max gaps/day, min hours between... )?

Thanks!

I am not sure I understand. If you have 5*14 days per week, it will function as needed.

Volker Dirr

Quote from: Liviu Lalescu on October 02, 2017, 07:31:55 AMI do not understand ("mo 8-9 to fr 15-16" and "no separation between days but weeks").

Because he added hours name like this:
"mo 8-9", "mo 9-10", ... "mo 15-16", "tu 8-9", ... , "fr 15-16"
and day name like this:
"week 1", "week 2", ... "week 14".

So the seperation between real weeks are FET days. But there is no seperation between real days.


Using the customizied version will be better.

Liviu Lalescu

#9
OK, I am working on updating the 120 days per week version to FET 5.33.1. I will let you know.

Do you think I should add a separate link to this version on the Custom FET versions page?

Volker Dirr


alxgudea

Hi Liviu and Volker,
Volker got it right...I made the change the way he mentioned it....
Liviu, I am trying to find thet customized version but the link is non-functional

Thanks a lot!

Liviu Lalescu

#12
I just updated the link and the FET version: http://lalescu.ro/liviu/fet/download/custom/max-120-days-per-week/

Please report bugs, if you find. I did not check thoroughly.

Please let me know. I am particularly interested if multi-week schedule works with FET.