<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<blockquote type="cite">I wonder why it worked on the 5.5.0.Final
with the cloudbalance but not with my workorder example that was
much simpler,</blockquote>
Me too. All the examples / unit tests work with 5.5.0.Final, but
there's clearly a case they don't cover.<br>
Good thing is that 5.6 will be out soon.<br>
<br>
<div class="moz-cite-prefix">Op 30-01-13 13:30, André Fróes schreef:<br>
</div>
<blockquote
cite="mid:CAC8f_wU=7O43OYaH++i+mNYuMcKeX-qZB6-41fAy_jRVG49sqw@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
It worked with the 5.5.1-SNAPSHOT
<div><br>
</div>
<div>-----------------</div>
<div>
<div>10:27:49.215 [main] INFO o.d.p.core.solver.DefaultSolver
- Solving started: time spend (179), score (null), new best
score (null), random seed (0).</div>
<div>10:27:49.254 [main] DEBUG
o.d.p.c.c.g.DefaultGreedyFitSolverPhase - Step index
(0), time spend (224), score (0hard/0soft), initialized
planning entity ([WorkOrder-15]).</div>
<div>10:27:49.256 [main] DEBUG
o.d.p.c.c.g.DefaultGreedyFitSolverPhase - Step index
(1), time spend (225), score (0hard/0soft), initialized
planning entity ([WorkOrder-14]).</div>
<div>10:27:49.284 [main] DEBUG
o.d.p.c.c.g.DefaultGreedyFitSolverPhase - Step index
(2), time spend (254), score (0hard/0soft), initialized
planning entity ([WorkOrder-13]).</div>
<div>10:27:49.293 [main] DEBUG
o.d.p.c.c.g.DefaultGreedyFitSolverPhase - Step index
(3), time spend (263), score (0hard/0soft), initialized
planning entity ([WorkOrder-12]).</div>
<div>10:27:49.297 [main] DEBUG
o.d.p.c.c.g.DefaultGreedyFitSolverPhase - Step index
(4), time spend (267), score (0hard/0soft), initialized
planning entity ([WorkOrder-11]).</div>
<div>10:27:49.300 [main] DEBUG
o.d.p.c.c.g.DefaultGreedyFitSolverPhase - Step index
(5), time spend (270), score (0hard/0soft), initialized
planning entity ([WorkOrder-10]).</div>
<div>10:27:49.306 [main] DEBUG
o.d.p.c.c.g.DefaultGreedyFitSolverPhase - Step index
(6), time spend (276), score (0hard/0soft), initialized
planning entity ([WorkOrder-9]).</div>
<div>10:27:49.310 [main] DEBUG
o.d.p.c.c.g.DefaultGreedyFitSolverPhase - Step index
(7), time spend (280), score (0hard/0soft), initialized
planning entity ([WorkOrder-8]).</div>
<div>10:27:49.315 [main] DEBUG
o.d.p.c.c.g.DefaultGreedyFitSolverPhase - Step index
(8), time spend (285), score (0hard/0soft), initialized
planning entity ([WorkOrder-7]).</div>
<div>10:27:49.321 [main] DEBUG
o.d.p.c.c.g.DefaultGreedyFitSolverPhase - Step index
(9), time spend (291), score (0hard/0soft), initialized
planning entity ([WorkOrder-6]).</div>
<div>10:27:49.321 [main] INFO
o.d.p.c.c.g.DefaultGreedyFitSolverPhase - Phase
constructionHeuristic ended: step total (10), time spend
(291), best score (0hard/0soft).</div>
<div>10:27:50.041 [main] DEBUG
o.d.p.c.l.DefaultLocalSearchSolverPhase - Step index
(0), time spend (1010), score (0hard/0soft), best score
(0hard/0soft), accepted/selected move count (1000/1000) for
picked step ([WorkOrder-8] <=> [WorkOrder-12]).</div>
<div>10:27:50.744 [main] DEBUG
o.d.p.c.l.DefaultLocalSearchSolverPhase - Step index
(1), time spend (1714), score (0hard/0soft), best score
(0hard/0soft), accepted/selected move count (1000/1422) for
picked step ([WorkOrder-14] <=> [WorkOrder-10]).</div>
<div>10:27:51.568 [main] DEBUG
o.d.p.c.l.DefaultLocalSearchSolverPhase - Step index
(2), time spend (2538), score (0hard/0soft), best score
(0hard/0soft), accepted/selected move count (1000/2013) for
picked step ([WorkOrder-6] <=> [WorkOrder-9]).</div>
<div>10:27:52.083 [main] DEBUG
o.d.p.c.l.DefaultLocalSearchSolverPhase - Step index
(3), time spend (3053), score (0hard/0soft), best score
(0hard/0soft), accepted/selected move count (1000/3635) for
picked step ([WorkOrder-11] <=> [WorkOrder-15]).</div>
<div>10:27:52.902 [main] DEBUG
o.d.p.c.l.DefaultLocalSearchSolverPhase - Step index
(4), time spend (3872), score (0hard/0soft), best score
(0hard/0soft), accepted/selected move count (1000/8864) for
picked step ([WorkOrder-7] <=> [WorkOrder-13]).</div>
<div>10:27:54.030 [main] DEBUG
o.d.p.c.l.DefaultLocalSearchSolverPhase - Step index
(5), time spend (5000), score (0hard/0soft), best score
(0hard/0soft), accepted/selected move count (0/31698) for
picked step ([WorkOrder-15] <=> [WorkOrder-7]).</div>
<div>10:27:54.031 [main] INFO
o.d.p.c.l.DefaultLocalSearchSolverPhase - Phase localSearch
ended: step total (6), time spend (5001), best score
(0hard/0soft).</div>
<div>10:27:54.031 [main] INFO o.d.p.core.solver.DefaultSolver
- Solving ended: time spend (5001), best score
(0hard/0soft), average calculate count per second (9730).</div>
<div><br>
</div>
<div>Solved distribution with 10 work orders and 5 engineers:</div>
<div> 6: ID: 5 - Monkey D. Ruffy</div>
<div> 7: ID: 5 - Monkey D. Ruffy</div>
<div> 8: ID: 4 - Mr. Miyagi</div>
<div> 9: ID: 4 - Mr. Miyagi</div>
<div> 10: ID: 3 - Rambo</div>
<div> 11: ID: 3 - Rambo</div>
<div> 12: ID: 2 - Chuck Norris</div>
<div> 13: ID: 2 - Chuck Norris</div>
<div> 14: ID: 1 - Aladin</div>
<div> 15: ID: 1 - Aladin</div>
</div>
<div>---------------</div>
<div><br>
</div>
<div style="">I wonder why it worked on the 5.5.0.Final with the
cloudbalance but not with my workorder example that was much
simpler, i mean, the rule was only a hard constraint and the
pojo simples though.</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/1/29 André Fróes <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:arfmoraes@gmail.com"
target="_blank">arfmoraes@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Okay I'll try it now and then post the result.</p>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>