Exercise "Applying Maximum Flow"

Task 1

Like in the "Cities by Train" exercise, one could split each node u into an uin and uout node, with an edge (uin,uout) with capacity c(u).

All edges went to u need to go to uin, and all edges that went from u need to go from uout now, e.g instead of

graph LR;
	w --> u --> v

the graph looks like this:

graph LR
    subgraph w
        w_in --> w_out
    end
    subgraph u
        u_in --> u_out
    end
    subgraph v
        v_in --> v_out
    end

    w_out --> u_in
    u_out --> v_in

Task 2

The graph G=(V,E) will consist of the following nodes:

These will be the other edges (every one with capacity 1):

Each employee can only be assigned once, because of the capacity of the vertex. The trucks also can only be operated by two persons.

The only problem, which I don't know how to solve, is how to prevent the assignment of a single person to a truck.