Click or drag to resize

VDS Fields

The VDS type exposes the following members.

Fields
  NameDescription
Public fieldDISRUPT_BEST_ROSTER_HEURISTIC Obsolete.
This field is no longer used.
Public fieldHARD_CONSTRAINT_RELAXATION_WEIGHT
During the algorithm, hard constraints may be relaxed to soft constraints and given this weight. Therefore, if the problem contains hard constraints it is important to set this value larger than the largest weight of all the soft constraints.
Public fieldLARGE_INSTANCE_HEURISTICS
Try setting this to true for better performance on instances with long planning horizons and/or many shift types and/or many employees.
Public fieldMAX_BLOCK_SIZE_AT_DEPTH_ZERO
Recommended value is between 2-3.
Public fieldMAX_DEPTH
The maximum depth to allow the variable depth search to go to. Recommended value is between 300-500.
Public fieldMAX_ITERATIONS
The maximum number of iterations of the main loop. Set as less than zero for not limit (default).
Public fieldNEXT_MOVE_MAX_BLOCK_SIZE
Recommended value is between 5-7.
Public fieldPhase2Intensity
Recommend setting this as Low or Medium. Set as Low if the Phase 2 construction heuristics are too slow. Setting it as High can increase performance on some instances but may be very slow on some instances. It is recommended to not set it as Unlimited.
Public fieldPOSITIVE_GAIN_HEURISTIC Obsolete.
This field is no longer used.
Public fieldPreferredRunTime
In milliseconds.
Public fieldROSTER_CONSTRUCTION_HEURISTICS
Recommend setting this as true as it is very useful for some instances.
Public fieldROSTER_CONSTRUCTION_HEURISTICS_DURING_VDS Obsolete.
This field is no longer used.
Public fieldSYSTEM_TIME_RANDOM_SEED
Uses the system time as the random seed if true.
Public fieldTEST_PATTERNS_MAX_ATTEMPTS Obsolete.
This field is no longer used.
Public fieldTIME_LIMIT
If true then the search will finish when PreferredRunTime is reached. If false it will finish once a single iteration is completed. The time taken for a single iteration can vary significantly depending on the instance being solved.
Public fieldVIOLATION_FLAG_HEURISTIC Obsolete.
This field is no longer used.
Top
See Also

www.staffrostersolutions.com | support