The LP assumes that one unit of flow enters the network at node s and leaves at node t. Define amount of flow in arc is on the shortest route otherwise length of arc Thus, the objective function of the linear program becomes
ห้างหุ้นส่วนจำกัดการสันนิษฐานหน่วยของกระแสเข้าสู่เครือข่ายในโหน s และใบที่โหน tกำหนดจำนวนขั้นตอนในส่วนโค้งบนเส้นทางสั้นที่สุดมิฉะนั้นความยาวของส่วนโค้งดังนั้น เป็นฟังก์ชันวัตถุประสงค์ของโปรแกรมเชิงเส้น