mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
fix #182
This commit is contained in:
parent
036b235d9c
commit
51b2e078ff
1 changed files with 3 additions and 1 deletions
|
|
@ -83,6 +83,8 @@ public class RegretInsertionConcurrent extends AbstractInsertionStrategy {
|
|||
* Runs insertion.
|
||||
*
|
||||
* <p>Before inserting a job, all unassigned jobs are scored according to its best- and secondBest-insertion plus additional scoring variables.
|
||||
*
|
||||
* @throws java.lang.RuntimeException if smth went wrong with thread execution
|
||||
*
|
||||
*/
|
||||
@Override
|
||||
|
|
@ -145,7 +147,7 @@ public class RegretInsertionConcurrent extends AbstractInsertionStrategy {
|
|||
catch (ExecutionException e) {
|
||||
e.printStackTrace();
|
||||
logger.error("Exception", e);
|
||||
System.exit(1);
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
return bestScoredJob;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue