<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
That shouldn't pose a problem at all.<br>
Start from the VRP example.<br>
<br>
One way would be to change the domain model so every Vehicle has one
VehicleType.<br>
Then adjust the score constraints to take that VehicleType into
account.<br>
<br>
Another way to model it is to have each Vehicle have a
trashCapacity, recyclingCapacity, ... (most of which are 0) and have
each Customer have trashDemand, recyclingDemand, ... Then the split
bin trucks are easy.<br>
A further optimization would avoid hard coding the stream types by
introducing a StreamType so a Vehicle has a list of
StreamTypeCapacity and Customer has a list of StreamTypeDemand.<br>
<br>
<div class="moz-cite-prefix">On 17-07-13 17:12, Colin Sheppard
wrote:<br>
</div>
<blockquote
cite="mid:CAFNZBpM5xnOu+pkuF2B-Ophp7u_Vzazy4ce8ThNjQ+91=FQ0yQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hello all, I'm totally new to optaplanner / drools
and would like to know if the following is possible within the
framework (I'd mostly likely use version 6).
<div><br>
</div>
<div>I have a VRP where we'd like to consider multiple waste
streams simultaneously (i.e. trash, recycling, food waste, and
yard waste). We'd also like to consider a fleet of split bin
trucks (capable of collecting 2 streams at a time but with
reduced capacity), single bin trucks, or a mixture of split
and single bin.</div>
<div><br>
</div>
<div>So the model would need to allow for a mixture of vehicle
types, for nodes to be visited more than once, and for
simultaneous collection to occur in the case of split bin
trucks.</div>
<div><br>
</div>
<div>
Does this sound like a feasible problem to implement? Would
you anticipate any major or intractable challenges?</div>
<div><br>
</div>
<div>Thanks for your advice, I hope I get the chance to start
using optaplanner!</div>
<div>
<br>
</div>
<div>Colin Sheppard</div>
<div><br clear="all">
<div><br>
--<br>
Colin Sheppard<br>
Research Engineer,<br>
Schatz Energy Research Center<br>
<a moz-do-not-send="true" href="mailto:colin@humboldt.edu">colin@humboldt.edu</a><br>
707.633.8633</div>
</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>