Main Menu

consecutive activity!

Started by moris, September 26, 2008, 11:45:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

moris

i have replaced break time with split activity + constraint of preferred time.

i have two activity that must be consecutive.

please, in this situation, what can i do to add consecutive activity constraint!

Chafik Graiguer

Quotei have replaced break time with split activity + constraint of preferred time.
I dont understand why you do replace break time with split activity+constraint preferred time ?

Quotei have two activity that must be consecutive.
please, in this situation, what can i do to add consecutive activity constraint!
Very easy !
go to:
Time constraints -----)  Activities time constraints -----) Activities are consecutive

Liviu Lalescu

#2
@alfaromeo: He replaced break with activity, because he needs break to be in say 5 or 6 hour. A constraint break is not flexible to stay either in 5 or 6, but constraint activity preferred starting times is flexible, he allows 5 and 6.

@moris: Yes, why don't you use constraint 2 activities consecutive, like alfaromeo says?

moris

i have replaced break time with 'split activity and preferred time constraint' because in my university there are two time plan of period.

first one is:
2h00|break|2h00|break|2h00|break|2h00

and the second one is:
1h30|break|1h30|break|1h30|break|1h30|break|1h30|break|1h30

i have some activity must be placed consecutively, the default option

Time constraints -----)  Activities time constraints -----) Activities are consecutive

cannot resolve problem because break is treated as pseudo activity, for this i search what i need to do to resolve this!

Please can you advise me?


Liviu Lalescu

Quotei have replaced break time with 'split activity and preferred time constraint' because in my university there are two time plan of period.

first one is:
2h00|break|2h00|break|2h00|break|2h00

and the second one is:
1h30|break|1h30|break|1h30|break|1h30|break|1h30|break|1h30

i have some activity must be placed consecutively, the default option

Time constraints -----)  Activities time constraints -----) Activities are consecutive

cannot resolve problem because break is treated as pseudo activity, for this i search what i need to do to resolve this!

Please can you advise me?


Sorry, but I do not understand.

Volker Dirr

Quote
first one is:
2h00|break|2h00|break|2h00|break|2h00

and the second one is:
1h30|break|1h30|break|1h30|break|1h30|break|1h30|break|1h30

What duration has the break in the first line?
What duration has the break in the second line?
What did you enter in fet->data->Hours (periods) per week?


Volker Dirr

ok. i can calculate myself.
break is always 30 minutes.

so you need to add in fet->data->hours per day periods like:
07:00-07:30
07:30-08:00
...
each period is an half hour.

so activities that take 2 hours have duration = 4 and also give them an activity tag "4"

activities that take 1,5 hours have duration = 3 and also give them an activity tag "3"

add constraint "break" and lock all break periods.
add constraint an activity set has a preferd time. select activity tag "3" and check all preferd times for activities with duration 1,5 hours.
do it similar with activity tag "4".

Chafik Graiguer

#7
Quoteok. i can calculate myself.
break is always 30 minutes.

I think moris means that he has  two time plans for break:
- First plan: breaks can happen every 2 hours 02h00
- Second plan: breaks can happen every 1 hour and half 01h30

Now maybe moris want ot ensure that there is no break between some activities so they are schedulled consecutivelly
I think he also need a Minimum consecutive activities constraint to be set for some activities
From the FET viewpoint:
lesson1 -- lesson2--- break (replaced with dummy activity) -- lesson3  
are consecutives !!! FET thinks it is respecting constraint "activties  are consecutive" ...
in fact those activities  are not consecutives !! there is a break in between
break shoudnot be counted as REAL activity

Chafik Graiguer

#8
I think I get the pint now !!
say morris has activities: A1, A2, A3, A4 should be consecutive
A5, A6, A7, A8 can be either consecutive or not consecutive
suppose we have 12 periods per day ( 30 minutes each)
break can happen at period 4  then at period 8 or 9
or at period 5 then at period 9 r 10 ...etc

Now
A5 - A6 - A7 - break - A8 is GOOD
but
A1 - A2 - A3 - break - A4 is NOT GOOD
morris would like to have no break at period 4 whenever A1 ,A2,A3,A4 ae scheduled

Liviu Lalescu

@alfaromeo: I still don't understand completely.

@moris: why don't you add the FET hour as real 30 minutes, and add activities with durations 3 or 4 for 1h30min or 2h activities?

moris

the break of each plan is 10 mn, for this i must take slot period to 10 mn too.

i cannot make break time because the two plan haven't break time at same moment, for this i have replaced break with split activity and i have add constraint of preferred time.

now, i have some activity that must be continued, i think consecutive activity constraint is not operational in this case (break time is viewed like activity).

please, how can i resolve this!

Chafik Graiguer

#11
Quote@alfaromeo: I still don't understand completely.
I try to explain hoping that my own understanding is correct !!

Break is only 10 minutes ! ( I think it should not be included in the periods per day definition, because the whole time unit should be 10 min for all !!! a one hour  activity would have duration 6 !!! unpractical !!! )

First I think that Time Unit is 30 minutes
So there are two possibilities for breaks:
1-Break can occur at timeslot 4 , after 3 timesolts with activities (3X30min= 01h30)
2- Break can also occur at timeslot 5, after 4 timeslots  with activities (4X30min=02h00 )

Now Moris has some activities that MUST be consecutive for 4 timeslots, (maybe 2+2 or 1+1+2 ...) witch means he  wants to ensure break to occur exactly at timeslot 5, not at timeslot 4.
In the same time, there are other activities wich may be consecutive for 3 timeslots only, break can accur at timeslot  4 ( or after timeslot 5,  making a gap at timeslot 4)  with no problem


mbarsan

Quote
2h00|break|2h00|break|2h00|break|2h00
....
1h30|break|1h30|break|1h30|break|1h30|break|1h30|break|1h30

Isn't this a situation where we need two timetables? One for first type of activities (2 hours) and a separate one for other type of activities (1h30)? Moris, how do you need - and how do you think - to connect the two timetables?

Another question.
There is a break between all activities. Why don't you simply let FET ignore that there is a break between all activities?

What a nice problem...
  :o

moris

i think i have checked a solution for my problem:

i don't use break or "activity split + preferred time constraint", i think i need to use some think like a template of preferred time for each activity.

if i have activity with 2h00 i will add constrain of preferred time that check a plan of 2h00:

allowed(2h)|not allowed(10mn)|allowed(2h)|not allowed(10mn)...

if i have activity with 1h30 i will add constrain of preferred time that check a plan of 1h30:

allowed(1h30)|not allowed(10mn)|allowed(1h30)not allowed(10mn)...

now about activity of 3h that must be consecutive, i will add constraint of preferred time (is like that i have plan of 3h00):

allowed(3h)|not allowed(20mn)|allowed(3h)...

with this solution i think i can resolve problem of consecutive activity but i have many gap in timetable that i cannot optimize with min gap between activity constraint.

please how can i resolve this!

Liviu Lalescu

Min gaps between activities means that you constrain that between a set of activities there are some gaps, so you cannot use that. It is the opposite of what you need.

Maybe use max gaps per week for students or max gaps per week or per day for teachers.