allow PathPtr to be a null pointer in the PlannerSolution constructor