Hi, Here is my test : I have an appointment to schedule on a customer availability. I have a list of customer availabilities. A customer availability is a period. An appointment needs an exact number of persons. A resource is composed of persons ( between 1 and n ) and has availabilities too.
The problem is to schedule the appointment : it has to choose the right resource availabilities that matches one of the customer availabilities and the total number of persons inside chosen resources must match exactly the needed number of persons of the appointment. My moves are for the moment : - Change the customer availability. - Add a resource to the list of chosen resources. My init is : - One of the customer availability is taken - 0 resource taken. First, i don't know if my model and my init are ok. Secondly, the solver does the following : - At the beginning, the score is bad because there is no resource. So, it begins adding resource and the score is getting better but when it changes the availability, the score gets very bad either because the chosen resources don't match the new availability or it has no resource inside. The solver doesnot seem to interest in the new chosen availibity with no resource, but i wish it does. Thanks for your remarks/help Best regards _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users