ArcObjects Library Reference (NetworkAnalyst)  

INAVRPSolver.TimeWindowViolationPenaltyFactor Property

The penalty factor for time window violation in the objective function.

[Visual Basic .NET]
Public Property TimeWindowViolationPenaltyFactor As Double
[C#]
public double TimeWindowViolationPenaltyFactor {get; set;}
[C++]
HRESULT get_TimeWindowViolationPenaltyFactor(
  double* Value
);
[C++]
HRESULT put_TimeWindowViolationPenaltyFactor(
  double Value
);
[C++]

Parameters

Value [out, retval]   Value is a parameter of type double Value [in]   Value is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

A time window violation occurs when a route arrives at an order, depot, or break after a time window has closed. The violation is the interval between the end of the time window and the arrival time. This property is used for calibrating time window violations within the solver objective function. For example, a penalty factor value of 5.0 means that a minute of time window violation increases the solver objective function value by the cost of five minutes of work time. The higher the penalty factor, the more the solver will favor solutions with smaller time window violations versus reducing overall route duration for the fleet. This penalty factor must be zero or positive, and cannot exceed one billion. The penalty influences the solver objective function during the optimization process, but is not included in the output route operating costs. The default value for this property is 1.0.

 

See Also

INAVRPSolver Interface