Activity home2 = createActivityFromLocationId(anchorAtFacilities, fact, "home", createId(2,anchorAtFacilities));
plan.addActivity(home2);
Subtour subtour1 = new Subtour(
Arrays.asList(
new Trip(somewhereElse, Collections.<PlanElement>singletonList(leg1), home1),
new Trip(work, Collections.<PlanElement>singletonList(leg3), home2)),
false);
Subtour subtour2 = new Subtour(Arrays.asList(
new Trip(home1, Collections.<PlanElement>singletonList(leg2), work),
new Trip(work, Collections.<PlanElement>singletonList(leg3), home2)), true);