Thanks ge0ffrey.

I successfully implemented hard constraints by following your tips. 

For soft constraints, I successfully implemented the highest availability
rule.



But it seems that among the examples provided, there is no situation similar
to the rule to minimize shipments (look at the
*warehouseIds.add(allocatedResource.getWarehouseId())* condition). 

Rules such as "closest warehouse" depend on this factor: we want don't want
this constraint to be calculated twice or more when more than one orderLine
is assigned to the same warehouse.

Any clue?



--
View this message in context: 
http://drools.46999.n3.nabble.com/Planner-drl-for-Selection-and-Decreasing-tp4022999p4023118.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to