<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
For a lab component of a single course, I 'd probably create n
LabTeacherAssignment planning entity instances and m
LabAssistentAssignment planning entity instances.<br>
Too bad n doesn't necessarily equal m or is somehow related (then
you could just make them n Lectures for example).<br>
<br>
An issue you'll run into: the default <contructionHeuristics>
do not support multiple planning entity classes currently (it just
fails fast).<br>
The new "CH placer" improvements already fix that, but I am still
working on completing (and then documenting) it for 6.0.0.CR1.<br>
<br>
Note: <localSearch> do support multiple entity classes - but
they require an initialized solution (so prefixing a
contructionHeuristic is really handy... :)<br>
<br>
<div class="moz-cite-prefix">On 04-07-13 22:35, Sandeep Bandela
wrote:<br>
</div>
<blockquote
cite="mid:CADXCGbmSPSKMQo+AbAVXv8qgPVLe15eB1ryRqL4OWtBeNeiaWw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>Hi,<br>
</div>
I need some help on modeling a planning problem. (using
planner 6.0.0.Beta3)<br>
</div>
My problem closely resembles curriculum-course example but
with some more planning variables as follows.<br>
</div>
<ol>
<li>course can be taught by multiple teachers</li>
<li>lecture needs 1 teacher, 1 projector, 1 teaching
assistant.</li>
<li>course can have lab component. which needs 'n' teachers
& 'm' lab assistants of that course.</li>
<li>every resource (teacher/projector/room/lab/assistants)
have their own availability periods in a day.<br>
</li>
</ol>
<p>1, 2, 4 were easier, I made teacher, projector, TA as
planning variables and have list from which they can be
chosen. and separate rule to check if the any of these are
present in different lectures at the same time or if they
are unavailable.</p>
<p>now to incorporate the 3rd, I am stuck. should I create
different planning entity and its own variables of teacher,
lab assistants? this will also complicate rules to check if
the same resource/variable is not in different places in the
same period (lecture-lecture, lab-lecture, lab-lab etc.).
any suggestions or references regarding this is much
appreciated.<br>
</p>
<p>Another issue is how can I dynamically control number plan
variables/resources needed for a planning entity? like 2
teachers & 4 lab assistants for a lab session of course
(is it related to <a moz-do-not-send="true"
href="https://issues.jboss.org/browse/PLANNER-167">https://issues.jboss.org/browse/PLANNER-167</a>
if so any workaround).</p>
-- <br>
Regards,<br>
Sandeep Bandela.<br>
</div>
</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>