FET Forum

FET Development => Custom FET for Particular Needs => Topic started by: mmtwins on February 09, 2009, 08:29:15 AM

Title: Need help to custom for one purticular problem
Post by: mmtwins on February 09, 2009, 08:29:15 AM
A teacher has his daughter studying in the University. Now it is needed that the trip of the faculty member to bring his daughter to university and his lectures time are optimized so that no one has to wait unnecessary for other. How can this be possible. Any suggestions. I am also submitting the FET file by the name Musadiq in the timetable submission forum. The dauther is in year group of BBA06 and faculty member name is GhiasulHaq. Will appreciate quick response.

Thanks
MMTWINS
Title: Re: Need help to custom for one purticular problem
Post by: Liviu Lalescu on February 09, 2009, 08:42:30 AM
Sorry, but this one seems too hard for me. I'll think about it, but I don't think I can help you.

You could try to generate a timetable, see the times of the daughter and may the teacher not available in the rest of the slots and generate again. Or vice-verse.
Title: Re: Need help to custom for one purticular problem
Post by: mmtwins on February 09, 2009, 10:12:36 AM
The fet file is attached
Title: Re: Need help to custom for one purticular problem
Post by: Liviu Lalescu on February 09, 2009, 10:33:55 AM
OK, I'll see it.

I meant: generate a timetable and see the daughter's times. Then, make the daughter not available in the other slots, and also the teacher not available in the other slots. Then generate again. FET might find a solution.
Title: Re: Need help to custom for one purticular problem
Post by: mmtwins on February 09, 2009, 11:23:23 AM
okay good point. Thanks for your guidance. once i am given the responsibility to generate for the full university I will share the file with you. The University till date was doing a manual method of making timetable. Sad!!!. I have joined only three weeks ago. Lets see how it goes.
Title: Re: Need help to custom for one purticular problem
Post by: Volker Dirr on February 10, 2009, 12:26:02 AM
You can try this:
add dummy activity/activities with subject "---" the teacher and his daughter. You need to think yourself about best duration and number of spilt actitivies.
then add constraint preferd starting time 1st hour and lastHour-durationOfSummyActivity+1. So the activity is set in the beginning or end of a day and both don't get an onther activity to that time. So they can stay/go home.
Title: Re: Need help to custom for one particular problem
Post by: Liviu Lalescu on November 04, 2011, 12:10:48 PM
Reviving an old topic, because the new FET version 5.15.0 seems to solve this problem:

To make sure I got it right: you want a teacher and a student both to have activities at the same time, so when the student comes to/leaves school, so does the teacher.

I think the new FET-5.15.0 can do that: add a constraint activities occupy max time slots from selection. Activities of both the teacher and the student, select all time slots of the week, max occupied=max(number of hours of working hours of the teacher, number of working hours of the student).

Yes, the new constraint activities occupy max time slots from selection is magic :-)

This kind of problem was also posed by Silver.

Edited to add: I did the changes on your file, see attached. But the teacher has 12 hours and student has 36 hours, so the only possibility is to request that the teacher's timetable is included in the student's timetable. I think the final timetable looks good with respect to your request.