Does anyone know why Optaplanner plans all employees, instead of only the
employees with the necessary skills? Thank you.
--
View this message in context:
http://drools.46999.n3.nabble.com/Optaplanner-rule-to-assign-employee-only-to-shift-when-he-she-has-the-skills-tp4026879p4026940.html
Sent
If you copied the employee rostering example, you can click on the
shifts to assign them to another employee.
Before you do that, write down the score.
Then use the trick above the reassign the shifts as you believe it's better.
Now write down the score again.
Is the score better?
On 26-11-13
Thanks for your fast reply ...
I did not retract the facts after each cycle, I inserted the facts within
the loop and fired rules afterwards ... but i repeated the test with fireing
rules and retract facts for each cycle - the effect is the same ... the
elapsed time is nearly the same (about 2
I have based my code on the nurse rostering example. But I have completely
stripped out the GUI part.
But I have found the error. My rule was wrong. A rule that works for me is:
rule alternativeSkill
when
ShiftAssignment($employee : employee, $shiftType : shiftType)
not
GREAT! Thanks!
--
View this message in context:
http://drools.46999.n3.nabble.com/What-is-URL-for-Guvnor-REST-API-in-6-0-0-Final-tp4026926p4026944.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
Are creating a new ksession for each batch of insertions? Or using the same
one? If the same one, are you deleting them after insertion?
And as per wolfgang’s message, JIT might have a big impact for this.
Mark
On 25 Nov 2013, at 22:50, ch3xy igor.stri...@gmail.com wrote:
Hello,
first
I am running some drools application code through Jetty and I get the
following error. I'm guessing its something to do with a conflicting jar or
dependency? Any help would be much appreciated. It does not happen when I
run it through tomcat 7.
java.lang.NoSuchMethodError:
I noticed this same error when attempting to use the Run Jetty Run eclipse
plugin with Jetty 6.1.26. Changing it to use Jetty 7.5.1 fixed the problem.
We still use version 6 on our test servers without a problem though so I
just put it down to some classpath issue with the plug-in.
Thanks, that was it. After digging around a bit I was able to get it working.
Appreciate the help!
--
View this message in context:
http://drools.46999.n3.nabble.com/CurriculumCourse-extending-for-multiple-teachers-per-course-tp4026896p4026948.html
Sent from the Drools: User forum mailing
Hi,
I have a problem scenario.
I insert two facts
- obj1 (on which rules needs to be validated, used in when part),
- obj2 (to retrieve output, used in then part)
Let's say there are two rules Rule1 and Rule2 for this fact type and both of
them get violated. In this case I am
10 matches
Mail list logo