mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
removed warning in core.problem.constraint.ConstraintManager.java
This commit is contained in:
parent
e015e3acd1
commit
315b21a666
1 changed files with 2 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ import org.apache.log4j.Logger;
|
|||
* @author schroeder
|
||||
*
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
public class ConstraintManager implements HardActivityStateLevelConstraint, HardRouteStateLevelConstraint, SoftActivityConstraint, SoftRouteConstraint{
|
||||
|
||||
public static enum Priority {
|
||||
|
|
@ -87,6 +88,7 @@ public class ConstraintManager implements HardActivityStateLevelConstraint, Hard
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
public void addLoadConstraint(){
|
||||
if(!loadConstraintsSet){
|
||||
if(vrp.getProblemConstraints().contains(Constraint.DELIVERIES_FIRST)){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue