CEE 123 Transport Systems 3: Planning & Forecasting
Spring 2026: Michael G. McNally (mmcnally-at-uci-dot-edu) [15450]

Homework #4 -- Performance, Demand, Equilibration [ S O L U T I O N S ]

CEE123: Complete problems 1-3 (40 points). Each solution should include volumes and times on all links as well as total system travel time. Problem 4 is extra credit.

Problem 1 (10 points)
Three routes connect a suburban origin and a downtown destination (x in kvph; t in minutes):

Route #1: t1 = 4 + 2x1
Route #2: t2 = 8 + 1x2
Route #3: t3 = 9 + 2x3

  1. If the total O/D flow is 5.0 kvph, find the User Equilibrium (UE) flow pattern {x,t}.
  2. If the total O/D flow is 2.0 kvph, find the path flows that minimize total system travel time.
  3. How does this System Optimal solution compare with the UE Solution in Part a?

Solutions:

(a) If the total O/D flow is 5.0 kvph, find the equilibrium (UE) flow pattern {x,t}

Test if all three routes are used at the specified total flow under UE assumptions:

  1. At T=0, t1=4, t2=8, and t3=9 , thus Route #1 is used first, Route #2 second, Route #3 last.
  2. At t1=8, x1=2.0 kvph. Until this volume is exceeded (when t1 = t2), all traffic uses Route #1.
  3. At t2=9, x2=1.0 kvph & x1=2.5 kvph. Until demand exceeds 3.5 kvph, Route #3 is not used.
  4. At Tod=5 kvph, all routes are used.

UE Solution

  1. t1 = 4 + 2x1 [Link Performance Function #1]
  2. t2 = 8 + 1x2 [Link Performance Function #2]
  3. t3 = 9 + 2x3 [Link Performance Function #3]
  4. Tod= 5 [Total O/D Demand]
  5. Tod= x1 + x2 + x3 [Flow Conservation]
  6. t2 = t3 [UE Condition]
  7. t1 = t3 [UE Condition]
  8. Solve (1-5) simultaneously: t1 = 9.75 min
  9. From 6 and 7: t1 = t2 = t3 = 9.75 min
  10. From 1: x1 = 2.875 kvph
  11. From 2: x2 = 1.750 kvph
  12. From 3: x3 = 0.375 kvph
  13. From 4 and 5: Tod= x1 + x2 + x3 = 5.0 kvph (checks)
  14. Ctot = Σ xa ta ...thus... Ctot = 48.75 k-min at UE

(b) If the total O/D flow is 2.0 kvph, find the path flows that minimize total system travel time.

There are at least two possible approaches:

(b1) In the first approach, substitute the flow constraint into the objective function and take derivatives with respect to the remaining variables.

Min C = Σta•xa(ta) ...subject to: Tod = x1 + x2 + x3 = 2

Min C = [4x1+2x12] + [8x2+ x22] + [9x3+2x32] ...subject to: x1 + x2 + x3 = 2 kvph

Thus: x2 = 2 - x1 - x3

Thus: C = [4x1+2x12] + [8(2-x1-x3)+(2-x1-x3)2] + [9x3+2x32]

so : dC/d x1 = 9 + 4x1 - 8 - 2(2-x1-x3) = 0 ...thus... 6x1+2x3-3=0

and: dC/d x3 =-8 - 2(2-x1-x3) + 4 + 4x3 = 0 ...thus: 6x3+2x1-8=0

Solving these results simultaneously (then computing travel times) yields:

  • x1 = 1.3125 and t1 = 6.625
  • x2 = 0.6250 and t2 = 8.625
  • x3 = 0.0625 and t3 = 9.125

(b2) In the second approach, marginal travel times may be equated in the same manner that average travel times are equated in the UE-solution. This is because we are trying to minimize the contribution to total travel time that each additional trip makes. In this case, the trip maker selects the route which has this minimal contribution (marginal travel time, the derivative of total travel time). When these contributions are equal (equal marginal travel times), then the system is in equilibrium.

Min C = Σta • xa(ta) ...subject to: Tod = x1 + x2 + x3 = 2

Min C = [4x1+2x12] + [8x2+x22] + [9x3+2x32] ...subject to: Tod = x1 + x2 + x3 = 2

m = dC/dx, thus: m1=4+4x1 ...and... m2=8+2x2 ...and... m3=9+4x3

Test if all three routes are used at the specified total flow:

  1. At T=0, m1=4, m2=8, and m3=9, thus Route#1 is used 1st; Route#2 2nd; Route#3 last.
  2. At m1=8, x1=1.00 kvph. Until this volume is exceeded, all traffic uses Route#1.
  3. At m2=9, x2=0.50 & x1=1.25 kvph. Until total demand > 1.75 kvph, R#3 is not used.
  4. At Tod=2 kvph, all three routes are used.
  5. m3=m2 => 9+4x1=8+2x2 => x3 =-0.25+0.5x2
  6. m2=m1 => 8+2x2=4+4x1 => x1 = 1.00+0.5x2
  7. thus: x1+x3 = 0.75+x2
  8. Demand: x1+x2+x3 = 2 or x1+x3 = 2-x2
  9. thus: 0.75+x2 = 2-x2
  10. So: x2 = 0.625 and x3 = 0.0625 and x1 = 1.3125
  11. and: t2 = 8.625 and t3 = 9.125 and t1 = 6.625
  12. Check: m1 = 9.25 ; m2 = 9.25 ; m3 = 9.25
  13. Total time: C1 = 8.70 ; C2 = 5.39 ; C3 = 0.57 ; C = 14.66

Note: The first approach essentially assumed that all routes would be used. Had not all three routes been used, the resultant flows would have shown negative volumes on at least one route.

(b) How does the System Optimal (SO) solution compare with the UE Solution (Problem 1B)?

There are different volumes, so the tewo solutions are NOT directly comparable. However, for either volume, the UE solution will always be as least as great as the SO solution.


 

Problem 2 (10 points)
Mr. Dunphy has two alternate routes when he drives from the desert (where he lives) to the sea (where he works). Route 1 has a higher base travel time but it's less sensitive to traffic congestion. There are linear performance functions (with travel time in minutes and volume in 1000s of VPH, or kvph).

          --------------------------------------------------
            Performance Parameter         Route 1   Route 2
          --------------------------------------------------
            Intercept (Free Flow Time)       2.0       1.0
            Slope (Route Sensitivity)        1.0       2.0
          --------------------------------------------------

The current travel demand function is linear: base demand is 15 (1000s of trips) but is reduced by 2 (1000s of trips) for each added minute of travel time. Solve algebraically or graphically for the user equilibrium flows.

SOLUTION: Graphical solution not shown.

  1. Linear Demand Function: TAB = 15 - 2tAB
  2. Performance Function 1: t1 = 2 + x1
  3. Performance Function 2: t2 = 1 + 2x2
  4. User Equilibrium (UE) : t1 = t2 = tAB
    Assume both paths used: 2+x1 = 1+2x2 => x1 = 2x2-1
  5. Conservation of Flows : TAB = x1 + x2
    thus: 15-2[1+2x2] = [2x2-1] + x2
  6. Solving yields => x2 = 2 kvph
  7. Performance Function 2: t2 = 5 min
  8. User Equilibrium (UE) : t1 = 5 min
  9. Performance Function 2: x1 = 3 kvph
  10. Linear Demand Function: TAB = 5 kvph

Problem 3 (20 points)
This problem is part of the Miasma Beach Project and provides you the opportunity to estimate trip generation models using Excel (as was done in HW 1). using the data provided in Task 3, Tables 2 and 3, estimate a home-based work (HBW) trip production and a home-based work (HBW) trip attraction model for the six internal TAZs.

  1. Pick an explanatory variable from Table 2 that you think would be most strongly related to HBW productions in a TAZ. Estimate this model.
  2. If this model gives acceptable results, add a second variable that you think would also be strongly related to HBW productions (if results are not acceptable, choose another single variable). Estimate this model.
  3. Compare the two models. Which would you choose and why?
  4. Repeat parts 1-3 for HBW attractions.

Solution Approach:
HBW trip production models will be estimated in Task 3 of the CEE123 course project. The goal is to begin the process of model development. Attached is a page of a spreadsheet with the Miasma Beach data set and results of 5 bivariate production models using 5 residential variables), a sample multivariate model (adding CARS to the POP model), and 2 sample HBW attraction models (with total and retail employment, but other employment variables may be viable too). Note that the database is slightly different each year to introduce variability. Results shown may not match yours but they should be relatively close. The bottom line is that building models is an art. There's no right answer, although there are many wrong answers (based on statistical amd/or logical problems). Note also that models estimated on 6 data points are virtually never acceptable.


Problem EC (10 points) [Extra Credit for 123; Required for 223]
Solution available to those who submit extra credit attempt.


Last Updated: 1 May 2026