jsprit/jsprit — pull request #121 by pierredavidbelanger (2014-08-03 04:09:22+00:00)
Title: penalty vehicles are not used when building initial solution

This one is not really meant to be integrated. I just want to demonstrate something to ask a question.

This is a simplification of a problem I am facing sometime:

When the time constraints are impossible to meet, but even when using penalty vehicles, it fail fast with the `NoSolutionFoundException: given the vehicles, could not insert job` error when the algorithm is creating the initial solution (`jsprit.core.algorithm.InsertionInitialSolutionFactory - create initial solution.`).

Is this the expected behaviour ?
I would have expected the initial solution to use a penalty vehicle (for `j2` in my example).

How can I work around this ?

Thank you!