[rules-users] Drools planner: unbreakable constraint question

cheikh dhib dhib.cheikh at gmail.com
Fri Oct 26 14:57:58 EDT 2012


I'm not sure that this email was well received on the list. So i resend 
it and add also the personal address which sent the first mail
Le 26/10/2012 17:19, cheikh dhib a écrit :
> Hello,
>
> I'm not a good Drools user. But i think what you can do, is to use a 
> high value(a value that is greater than the sum of all other possible 
> values associated with the soft constraints). By this way you will be 
> sure that a solution with this constraint violated will not be 
> accepted if there is another one  in which the constraint is not 
> violated. In opposite if all your solutions violate this constraint, 
> you will have one with the less number of violation and that can be 
> enhanced through the steps of research, which can lead finally to a 
> feasible solution.
>
> Good luck, any way.
>
> Le 26/10/2012 15:03, Michiel Vermandel a écrit :
>> Hi,
>>
>> Any one an idea?
>>
>> Thanks
>> -----------------
>> http://www.codessentials.com - Your essential software, for free!
>> Follow us at http://twitter.com/#!/Codessentials
>> ------------------------------------------------------------------------
>> *From:* Michiel Vermandel <mvermand at yahoo.com>
>> *To:* Rules lists.jboss.org <rules-users at lists.jboss.org>
>> *Sent:* Thursday, October 25, 2012 10:27 AM
>> *Subject:* [rules-users] Drools planner: unbreakable constraint question
>>
>> Hi,
>>
>> I have a planning project that is determined by quite some constraints.
>> Translated in rules this results in a number of hard constraints and 
>> a number of soft constraints.
>> Now I have one rule (hard constraint) that simply many not be broken, 
>> never, ever.
>> If a planning that fails this rule would be executed, we face a lawsuit.
>>
>> Of course I can (and will) do a post-evaluation to find out if this 
>> rule is broken,
>> but I want to know if there is a possibility in drools planner to 
>> forcefully reject any "solution" that breaks this one rule,
>> continue searching for other solutions and guarantee that the "best 
>> solution" will not propose a combination that fails this rule?
>>
>> Is this possible?
>>
>> Thanks,
>>
>> Michiel
>> -----------------
>> http://www.codessentials.com - Your essential software, for free!
>> Follow us at http://twitter.com/#!/Codessentials
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org <mailto:rules-users at lists.jboss.org>
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20121026/eaf9d586/attachment.html 


More information about the rules-users mailing list