Main Menu

Constrains

Started by Thomas Mani, April 25, 2011, 07:22:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Thomas Mani

I have down loaded FET new version. Thank you. My school is a small school. I have a problem
My students take three languages.
I have classes 12A, 12B, 12C and 12D. When 12A and 12C have language they move to any three language French, Hindi or Malayalam. Which means Three teachers should be assigned to 12A and 12C during a period
They will have 2 periods in a week.
In teacher time table they will have one language

Volker Dirr

and what is exactly your problem question? how to do it?
if you don't have room problems:
add a subject "language"
add an activity and split it into 2 pieces. add both classes and all three teachers into this activity. ready.

if you have room problems:
you need to add 2 more activities and connect them with contraint activity has same starting time (hour and day).

Liviu Lalescu

I think of this: divide year 12 by 2 categories:

Categ. 1) A, B, C, D
Categ. 2) French, Hindi, Malayalam.

Constrain activities of F, H and M to be simultaneous (if needed).

Volker Dirr

livius answer is maybe better, but it is depending on what 12b and 12d are doing. so if 12b and 12d still should have "normal" clasee lessons at the same time, then don't divide the year.
if 12b and 12d have free and/or have also something like a language course: livius answer with dividing is better.


Thomas Mani

Thank you.
I have another problem
Number of days is five ie mon to fri
number of periods is five
a teacher has 6 periods in a week for a subject. ie we have to give two periods in a day and on other days one periods
How do we assign this?
Thomas Mani

Liviu Lalescu

#5
QuoteThank you.
I have another problem
Number of days is five ie mon to fri
number of periods is five
a teacher has 6 periods in a week for a subject. ie we have to give two periods in a day and on other days one periods
How do we assign this?
Thomas Mani

This is written in the FAQ, I think, or if you have 5 days and want to add an activity split into 6, FET will issue a warning and give information on how to solve this.

The day with 2 activities, these 2 must be:

1) Continuous: then add activity split into 5, one of them has duration 2

2) Not necessarily continuous: add activity split into 5, duration 1 each. Add one single other activity, duration 1.

3) Necessarily non-continuous: same as 2), then add activities same starting day, A1, A6, then min 1 gaps between activities, A1, A6.

Thomas Mani

Thank you for your timely help
It is working ....... .....
I am going to use the timetable created by fet for our vacation class
I can give you the copy to you if you want it.
I haven't used many constraints this time.
I think you are very patient.

Thomas Mani

Liviu Lalescu

Yes, please send your file, here or on my email address.

Thomas Mani

this is the Fet file I have created after adding the teacher allocation, student details and activities
Please do give your sugestion. Is it possible to get the out put in excel format

Thomas Mani

Liviu Lalescu

#9
Thank you!

A very easy file.

Possible improvements: consider adding constraints for max days per week for teachers, min hours daily for teachers, max gaps per week/day for teachers.

About the Excel format, I am not the best person to answer.

Volker Dirr

what exactly do you want to output into excel?
you can import the csv files without problem into excel.
you can also try to import the html files with excel. excel didn't support all html/css features, but most basic ones.

Thomas Mani

Presently we are getting the table in the html format. If we can get in the excel/csv format we can modify the content to any size and print it. I can give an example of a timetable made in excel format.

Volker Dirr

That are years timetable.

Like i wrote before: just open excel and then open the html files with excel if you need that. but modifing with excel would take much time, because you will need to modify much. you need to delete many lines (rooms, subject/students set, header). you need to delete (number of classes)*3 + (number of teachers)*3 lines. if you use activity tags, then you also need to modify many lines.

but it will be much easier if you use the html-files.
you can hide very simple with the css. you need to edit only 2-4 lines (depend on your dataset, i didn't check if you use rooms and activity tags.)
please read the manual or check the forum how to hide elements with css.

so using html files will be much faster.

Thomas Mani

I am attaching the fet file I have created. It is the timetable of my school. I am satisfied with the constrains except one.
If there are more than 5 activities in five days time like 7 periods as five activities. I need to have 2,2,1,1,1
When the timetable is created I have seen the two periods are always continuous. I DONT WANT COMBINED PERIODS IN SOME CASES
Can you suggest which constrain I should use.

Liviu Lalescu

#14
This is explained in FET: try to add an activity split into 7, then FET will say that this is incorrect and will give you advice on how to do that better (depending on whether you want activities in the same day consecutive or not). In your case, you will need to add some more min gaps between activities constraints, additionally.

More details: add A1, A2, A3, A4, A5, duration 1, min days between activities 1. Add A6, A7, duration 1, min days between activities 1. Add constraint min gaps between activities, A1, A2, A3, A4, A5, A6, A7, min 1 gap, 100%. This in case if you don't want the activities consecutive. Otherwise, you may need to add constraint 2 activities grouped (so they are forced consecutive).