hi,
i want to ask a question about my problem.
I have 11 hours a day.
6. hour is break time.
I have a lesson with 10 duration.
I don't want to split the lesson, it must be on same day. (5 + break time + 5)
how can i do this in FET.
thank you.
1) Either don't consider the break (add 10 hours per day).
or
2) Or add the constraint min days between activities without force consecutive if same day (because it cannot put two activities over a break) and with 0% and add a constraint two activities grouped or consecutive.
Please let me know.
QuoteOr add the constraint min days between activities without force consecutive if same day (because it cannot put two activities over a break) and with 0% and add a constraint two activities grouped or consecutive.
that worked for me.
thank you.
it works also without "constraint min days between activities".
is it really necessary?
Oh, it works, indeed, because a constraint min days with 0% and not consecutive is equal to no constraint. I was thinking that you add the activities and it is simpler to choose 0% and unselect than to remove the constraint min days after adding the activity.
Hmm, do you think I should think of something more elaborate to allow constraint min days between activities with consecutive if same day selected to spread over a break? Because there were other users having your problem as well.
some of our lessons have 8+ duration.
and we have 12 hours a day ( 6h + break + 6h )
maybe you can add a new constraint like:
"activity can be seperated by break"
an idea:
if you add a checkbox to add/modify activity form
and if split=2 then this checkbox can be enable.
and than, if this checkbox is selected two split of act can be place on some day.
i say 2 because, a value greater than 2 is not reasonable i think.
Thank you! I'll think about it.
Please see: http://lalescu.ro/liviu/fet/forum/index.php?topic=2607
i voted "YES" and wrote an explanation :)
Hello Liviu,
I have a suggestion for an easy solution to this issue:
I created a solution with the existing rules without making any new developments.
Let's think of the day as 5h + break + 5h.
Let's also have a 6h activity.
If you add a checkbox [ X ] "span over break is allowed" when adding/modifying an activity;
in the background,
you can convert this activity into 6 separate activity (a1, a2, a3, a4, a5, a6) and add the "ConstraintTwoActivitiesGrouped" rule to each of these 6 activities separately.
ConstraintTwoActivitiesGrouped1 -> a1 and a2
ConstraintTwoActivitiesGrouped2 -> a2 and a3
ConstraintTwoActivitiesGrouped3 -> a3 and a4
ConstraintTwoActivitiesGrouped4 -> a4 and a5
ConstraintTwoActivitiesGrouped5 -> a5 and a6
The "activityGroupId" in activity.cpp might be useful.
Kind regards.
sample file added.
Hello, Devrim,
I added your words in the TODO file.
Thank you!
Hello
Quote from: Liviu Lalescu on July 24, 2016, 05:58:50 PMOh, it works, indeed, because a constraint min days with 0% and not consecutive is equal to no constraint.
I think you said at some point that if 3 activities are placed in that restriction (min days, 0%, not consecutive), by default FET will place a maximum of 2 on the same day. But now you are saying that "min days, 0%, not consecutive = no constraint" so I am lost ???
You are right, in newer FET versions FET won't place three activities on the same day if they are in a min days constraints (it was there from the start with consecutive selected, and we changed for consecutive not selected a few years ago to also don't allow 3 activities on the same day). So, we need no constraint of type min days between activities.