optaplanner

Solution Cloning happening at steps that produce a “new best score” in a row

谁说胖子不能爱 提交于 2019-12-02 03:52:56
Something that recently caught my attention was a step being slower than others when a "new best score" is produced. This is definitely the solution cloning that is happening at every step that produces a "new best score". So this is okay if the "new best score" steps are not in a row. If for example we have 50 steps in a row the solution cloning process will be executed 50 times. A smarter way would be to do the cloning process at the end of the sequence(only once). Is this something that can be implemented easily or there is some other thing that would prevent it? Another idea would be to do

Bicycle messenger / TSPPD with OptaPlanner

泪湿孤枕 提交于 2019-11-29 02:34:52
Dear OptaPlanner experts! I would like to use OptaPlanner (or a similar Open Source Java Framework) to optimize routes for a bicycle messenger service. Let's assume 5 messengers have to pick up 30 envelopes FROM a certain origin and deliver them TO a certain destination: X(FROM) Y(FROM) X(TO) Y(TO) envelope 1 13745 55419 13883 55756 envelope 2 8406 53246 13937 55854 envelope 3 15738 57396 35996 79499 envelope 4 12045 60418 19349 57118 envelope 5 13750 56416 35733 78403 envelope 6 13190 57068 11860 59749 envelope 7 15021 55768 14098 57379 envelope 8 11513 58543 11501 59683 envelope 9 12013

Using real distances between points in optaplanner

╄→尐↘猪︶ㄣ 提交于 2019-11-28 11:51:14
Hello I am new to optaplanner. I am trying to use the vrp (tw) example. I'll like to set real distances (route distances) in order to get a real solution. I have real distances between all points in a double NXN matrix (distance(a,b)<>distance(b,a)), so, how can I use the matrix in the .xml (.vrp) input file to solve vrp problem ? Note : my matrix is about from 2X10X10 to 2X100X100. Thanks in advance. opp Here is the way I went. There might be much better solutions than this - I have to admit that I just started to play around with Optaplanner. Any suggestions on improvement are welcomed. Hope

Bicycle messenger / TSPPD with OptaPlanner

隐身守侯 提交于 2019-11-27 16:58:44
问题 Dear OptaPlanner experts! I would like to use OptaPlanner (or a similar Open Source Java Framework) to optimize routes for a bicycle messenger service. Let's assume 5 messengers have to pick up 30 envelopes FROM a certain origin and deliver them TO a certain destination: X(FROM) Y(FROM) X(TO) Y(TO) envelope 1 13745 55419 13883 55756 envelope 2 8406 53246 13937 55854 envelope 3 15738 57396 35996 79499 envelope 4 12045 60418 19349 57118 envelope 5 13750 56416 35733 78403 envelope 6 13190 57068

OptaPlanner VRP edge weights need to use actual GPS data instead of Euclidean distance [duplicate]

半城伤御伤魂 提交于 2019-11-27 05:54:08
问题 This question already has an answer here: Using real distances between points in optaplanner 2 answers I am new to optaplanner. I am trying to modify the vrp example [whether the CVRP or the VRPTW] to supports more than just the Euclidean distance as the edge weight between nodes. I am using the newest release optaplanner 6.0.0.CR5 回答1: There are several ways to handle this. All presume you have a GPS system (such as google maps) that can easily return the distance between 2 points A and B.

Wrong Manifest.mf in IntelliJ IDEA created .jar

拟墨画扇 提交于 2019-11-26 23:29:39
I'm trying to package a project using OptaPlanner 6.0.1 libraries into a .jar through IntelliJ IDEA's jar artifact but instead of my manifest.mf containing the standard Manifest-Version: 1.0 Main-Class: a.b.c.app the jar uses the one supplied in ecj-3.7.2.jar, one of OptaPlanner's supporting libraries: Manifest-Version: 1.0 Build-Jdk: 1.6.0_26 Built-By: ibrandt Created-By: Apache Maven Archiver-Version: Plexus Archiver Because of this, a "no main manifest attribute, in appname.jar" error happens when trying to run the app. If I manually replace the manifest in .jar file with mine everything

Wrong Manifest.mf in IntelliJ IDEA created .jar

拜拜、爱过 提交于 2019-11-26 08:45:38
问题 I\'m trying to package a project using OptaPlanner 6.0.1 libraries into a .jar through IntelliJ IDEA\'s jar artifact but instead of my manifest.mf containing the standard Manifest-Version: 1.0 Main-Class: a.b.c.app the jar uses the one supplied in ecj-3.7.2.jar, one of OptaPlanner\'s supporting libraries: Manifest-Version: 1.0 Build-Jdk: 1.6.0_26 Built-By: ibrandt Created-By: Apache Maven Archiver-Version: Plexus Archiver Because of this, a \"no main manifest attribute, in appname.jar\" error