Op 23-09-12 17:10, jimirn schreef:
Hi,
I hope someone can tell me what I am doing wrong.
I am trying to kind of do the same as the Vehicle Routing example.
Relative to the
Vehicle Routing example, this domain would be:
My domain is:
- Consultant (the person that will drive to a DeliveryPlace and spent some
time there, each Consultant has a max total time available)
VrpVehicle
- DeliveryPlace (the place where a Consultant will drive to and spent
some
time making a delivery)
VrpCustomer (=> planning entity)
- Location (a Consultant has a home and a DeliveryPlace has a
location)
VrpLocation
So basicly there could be X Consultants who has to make deliveries to Y
DeliveryPlace's. And I want to figure out the best way of doing that.
Right now my code does not find any doable moves:
16:51:57.654 [main] INFO o.d.p.c.c.g.DefaultGreedyFitSolverPhase - Phase
constructionHeuristic ended: step total (0), time spend (86), best score
(0hard/0soft).
0 steps means that non of the planning entities's variables are
null and
therefore there is nothing to initialize.
16:51:57.658 [main] WARN o.d.p.c.l.DefaultLocalSearchSolverPhase -
Cancelled step index (0), time spend (89): there is no doable move.
Terminating phase early.
16:51:57.658 [main] INFO o.d.p.c.l.DefaultLocalSearchSolverPhase - Phase
localSearch ended: step total (0), time spend (90), best score
(0hard/0soft).
Here is the source code, modified from the Vehicle Routing example:
src.tar.gz <
http://drools.46999.n3.nabble.com/file/n4019907/src.tar.gz> Diff
your code with the vehicle routing example.
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-Planner-Vehicle-Routing-but-a-li...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users