[rules-users] Planner: drl for Selection and Decreasing

Al Ferguson alfernie at hotmail.com
Fri Mar 29 09:15:50 EDT 2013


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.


More information about the rules-users mailing list