a set of activities occupies max time slots from selection

Started by Benahmed Abdelkrim, April 22, 2016, 09:45:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Benahmed Abdelkrim

  cette contrainte de temps et peut connu, et on peut dire qu'elle est mal compris. donc je lance un appel à quiconque,  pouvant apporter sa contribution pour éclaircir ce point avec des exemple s'il vous plait.
et merci d'avance avec toutes nos gratitudes.

  this constraint of time and little known, and we can say it is misunderstood. So I appeal to anyone that may contribute to clarify this point with the example please. and thank you in advance with all our gratitude.
B.A/krim

Volker Dirr

there are a lot of possible problems you can solve with this constraint.

example:
there are 2 teachers at your school that come with the same car to school. so it would be nice if they have nearly the same workig time, so they can always drive together.

maybe teacher 1 work 25 hours per week and teacher 2 work 26 hours per day.
use this contraint. add all activities from teacher 1 and teacher 2 and allow max 26 hours. by that the teachers have (except of 1 hour) always the same time free. so they can use the car together.

Benahmed Abdelkrim

#2
  peut on utiliser cette contrainte pour les étudiants? si on veut par exemple que touts les groupes d'élèves sans exception terminent leur lessons a la même heure en une journée, soit 17h le mercredi par exemple,. comment utiliser cette contrainte pour satisfaire ce choix?

we can use this constraint to the student? for example if we want that all student groups without exception finish their lessons at the same time in one day; 17h in Wednesday  for example,. how to use this constraint to satisfy this choice?
B.A/krim

Vangelis Karafillidis

For this, you should use the constraint "A students set's not available times".

Liviu Lalescu

Quote from: Vangelis Karafillidis on April 22, 2016, 08:56:02 PM
For this, you should use the constraint "A students set's not available times".

No, Vangelis, he wants students to have activities in that interval. It is the opposite of constraint students set not available.

Volker Dirr

You can't choose a fixed finish value by that constraint. You might do that by other tricks. But that is depending on your dataset. i need to know much more about your dataset to answer that.

Benahmed Abdelkrim

 merci mr volker de votre réponse et de votre intérêt que vous donner à tout le monde.
   c'était aussi mon point de vue, et j'ai trouvé une astuce, qui ma permet de trouvé une solution, que j'ai publié dans la section suggestion  de ce forum,  dont voici le lien:

thank you mr volker your response and your interest that you give to everyone.
    it was also my perspective, and I found a trick that my enables a solution, which I published in the  suggestion  of this forum, using the following link:

  http://lalescu.ro/liviu/fet/forum/index.php?topic=2424.0
B.A/krim

Vangelis Karafillidis

Quote from: Liviu Lalescu on April 23, 2016, 06:15:04 AM
Quote from: Vangelis Karafillidis on April 22, 2016, 08:56:02 PM
For this, you should use the constraint "A students set's not available times".

No, Vangelis, he wants students to have activities in that interval. It is the opposite of constraint students set not available.
You are right!

Benahmed Abdelkrim

B.A/krim