mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
turned fixcostcalc into soft constraint
This commit is contained in:
parent
2f636fc07b
commit
5d44ecccdc
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ public class DellAmicoFixCostCalculator implements SoftRouteConstraint, Insertio
|
|||
nuOfJobsToRecreate--;
|
||||
double completenessRatio = (1-((double)nuOfJobsToRecreate/(double)nuOfJobs));
|
||||
calculator.setSolutionCompletenessRatio(completenessRatio);
|
||||
System.out.println(completenessRatio);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue