Drools Planner: Linear programming with drools?
by oliver.rolle
Hi,
I am writing a paper about route optimizations for fire trucks through
influencing the traffic control system. The idea is to give fire trucks a
green wave under the restriction of the flow of traffic.
I want to compare the solutions of different methods for the problem:
1. Linear programming / Simplex: best solution
2. Heuristic / Drools: good solution
3. Real-time / Drools: good solution
The simplex algorithm is not implemented in Drools. Can Drools emulate the
simplex algorithm? Does Drools metaheuristic approach solve linear models as
good as simplex does? always?
best regards
Oli
--
View this message in context: http://drools.46999.n3.nabble.com/Drools-Planner-Linear-programming-with-...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years, 7 months
unsubscribe
by Mahadevappa, Shobha
Regards,
Shobha M | Senior Program Manager, A&AD | NTT DATA Global Delivery Services Limited| w. +91-80-26659482 (Ext 3679) | v. 8814.3679 | m. +91.9972522743 | shobha.mahadevappa(a)nttdata.com<mailto:shobha.mahadevappa@nttdata.com>
______________________________________________________________________
Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding
13 years, 7 months
Custom Form with DSL
by bhochhi
I were able to launch the custom form in DSL, however the rule condition is
not mapped to corresponding DRL. I don't know if this is a bug or just
something is missing. my DSL mapping looks like this:
[when]
my dsl is "{varName:CF:MyFactType.fieldName}" =
System.out.println("{varName}")
I have working set created then configured custom form for fieldName. All
things working but rule is not validating. When I check drl source, I found
the mapping is not taking place, its still displaying DSL expression in DRL
source instead of displaying:
System.out.println("values from cf")
Any ideas? I have tried this in guvnor 5.4.0.final and 5.5.beta1
--
View this message in context: http://drools.46999.n3.nabble.com/Custom-Form-with-DSL-tp4020207.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years, 7 months
Error messages are not like the ones described in documentation
by Magnus Vojbacke
MY DROOLS BINARIES VERSIONS:
drools-clips-5.4.0.Final.jar
drools-compiler-5.4.0.Final.jar
drools-core-5.4.0.Final.jar
drools-decisiontables-5.4.0.Final.jar
droolsjbpm-introduction-docs-5.4.0.Final.jdocbook
drools-jsr94-5.4.0.Final.jar
drools-persistence-jpa-5.4.0.Final.jar
drools-templates-5.4.0.Final.jar
drools-verifier-5.4.0.Final.jar
BACKGROUND:
I'm embedding drools in an application.
To test the error handling, I'm trying to import a type that doesn't exist:
import does.not.exist;
When I print out the error messages from KnowledgeBuilder.getErrorMessages() they all look similar to this:
Error importing : 'does.not.exist'
Rule Compilation error : [Rule name='Telnet']
defaultpkg/Rule_Telnet_cdef8401dd054fb59abb4e33b76d12f7.java (2:74) : Only a type can be imported. does.not.exist resolves to a package
I have looked at section 4 - "Error messages" in the drools expert documentation - http://docs.jboss.org/drools/release/5.4.0.Final/drools-expert-docs/html_... to find a description of error messages.
MY QUESTION:
There is an error message format described in the drools expert documentation:
" 1st Block: This area identifies the error code.
2nd Block: Line and column information.
3rd Block: Some text describing the problem.
4th Block: This is the first context. Usually indicates the rule, function, template or query where the error occurred. This block is not mandatory.
5th Block: Identifies the pattern where the error occurred. This block is not mandatory."
Why is my error message not formatted like the documentation describes?
13 years, 7 months
Creating own UI to translate rules in Drools
by benq2188
Hello,
I want to design UI which suggests options to the user for adding,modifying
and deleting rules. Within drools final 5.4.0 version, writing rules in xml
format is depreciated, so I thought to save user input data as rules inside
a .drl file with our own translation from UI. Seems it will take time, we
need to consider creating rules either first degree or n-degree(several
conditions and actions for each rule).
Can anyone suggest a way to deal with it?
Thanks in advance.
--
View this message in context: http://drools.46999.n3.nabble.com/Creating-own-UI-to-translate-rules-in-D...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years, 7 months
Re: [rules-users] Few Questions About using Drools
by benq2188
Hello, wondering that have you found any solution for your requirements?
I want to design UI which suggests options to the user for adding,modifying
and deleting rules. Within drools final 5.4.0 version, writing rules in xml
format is depreciated, so I thought to save user input data as rules inside
a .drl file with our own translation from UI. Seems it will take time, we
need to consider creating rules either first degree or n-degree(several
conditions and actions for each rule).
Any solutions to deal with it?
Thanks in advance.
--
View this message in context: http://drools.46999.n3.nabble.com/Few-Questions-About-using-Drools-tp3007...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years, 7 months
Building our own UI for Drools
by kapokfly
Due to some reasons (for example, build a consistent UI within our own
application, easier to work with our own meta data, don't want SSO etc), we
are considering to build our own UI to generate Drools rule file basing on
the user input via the UI , has anyone tried this before? Is there any
library shipped within Drools Gunvor can be used to be easier to work with
Drools rule syntax?
Thanks,
Ivan
-----
Ivan, your Panda, forever
--
View this message in context: http://drools.46999.n3.nabble.com/Building-our-own-UI-for-Drools-tp350884...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years, 7 months
How to get notified just before rule is picked up for evaluation
by GPatel@tsys.com
Is there a way to get a hook into just before a rule is evaluated to
determine whether an activation is created ?
The earliest hook available is DefaultAgendaEventListener.
activationCreated(ActivationCreatedEvent event)
What I am looking for is to get notified just before a rule is picked up
for evaluation and just after it has been evaluated.
Thanks
Ghanshyam
-----------------------------------------
The information contained in this communication (including any
attachments hereto) is confidential and is intended solely for the
personal and confidential use of the individual or entity to whom
it is addressed. If the reader of this message is not the intended
recipient or an agent responsible for delivering it to the intended
recipient, you are hereby notified that you have received this
communication in error and that any review, dissemination, copying,
or unauthorized use of this information, or the taking of any
action in reliance on the contents of this information is strictly
prohibited. If you have received this communication in error,
please notify us immediately by e-mail, and delete the original
message. Thank you
13 years, 7 months