Which part of the solution will always be extracted, regardless of the part of the solution being optimized?
Suggested Answer
The objective will always be extracted. Thus, if you extract a submodel and restore the corresponding part of a routing solution, the stored value of the objective reflects only the cost of the submodel and not the whole solution. This is a situation where the cost value of a solution must be treated with care. The function syncSolution
ensures that the cost value is consistent with that computed from the extracted model.