In the following code, the parameter IloFalse
ensures that the goal instantiates all the breaks in the routing plan by considering all the vehicles during the instantiation process. If this parameter were changed to IloTrue
, and thereby each vehicle were considered independently from the others, what do you think would be the likely impact on the instantiation processing time and to the goal failure rate?
IloGoal instantiateBreaks = IloLimitSearch(_env,
IloInstantiateVehicleBreaks(_env,
1.0/60.0, IloFalse),
IloFailLimit(_env, 100));
|
Suggested Answer
The instantiation processing time would likely decrease and the goal failure rate would likely increase.
When set to IloTrue
, this parameter means that if the break instantiation for a single vehicle is searched entirely and the break cannot be placed, then the goal fails. In other words, there is no attempt to backtrack to a previous vehicle to explore other break positions that may work in a successive attempt going forward.