Solving VRPTW using OptaPlanner -


i have tried run example https://github.com/droolsjbpm/optaplanner/tree/master/optaplanner-examples/src/main/java/org/optaplanner/examples/vehiclerouting written here: http://docs.jboss.org/optaplanner/release/6.3.0.final/optaplanner-docs/html_single/index.html#downloadandruntheexamples data set cvrptw-25customers.xml . when changed readytime , duetime in customers, didn't result in change in score. looks program doesn't care time windows. should change in java classes? goal time needed drive customers, taking account time windows.

this should work, 've done several times myself. potential causes:

  • did load xml file again? try changing vehicleroutingpanel code it's obvious customer changed , if indeed values changed. compare screenshot of before , after change (or duplicate xml file keep original).

  • if arrival times , duetimes change, score doesn't need change. try making small time windows, @ annoying times, should impact score , make worse.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -