Ofir Cohen | PB | | Sample Of Alternatives 11th National Transportation Planning Applications Conference May 6-10, 2007, Daytona Beach, Florida Ofir Cohen, PB, San-Francisco Christi Willison, PB, Albuquerque Andrew Stryker, PB, Portland Session 14: Hot and cool topics
Agenda Motivation – Why Sampling? Sampling Algorithm Random Sample Smart sampling Concept- S.A.L.T Correction Factor Optimal sample size Results – Disaggregate Commercial movement - Ohio Statewide model Run Time improvement
Motivation Multinomial logit function can have a great number of alternatives – Destination Choice Utilities can be cumbersome and include many parameters. A Micro-Simulation model evaluates the utility of each alternative every time it applies the model. This involves in a very intensive computing time.
OHIO Statewide Disaggregate Commercial Model Ohio State Wide model has 4248 Internal zones. The model has 4.6M trips -> utility is evaluated ~20G times. Java based software- EXP(), LOG() are rather “expensive functions” Some parameter are calculated on the fly and therefore utilities can't be re-used Run time is around 80 minutes. A faster yet unbiased approach is needed. Destination Choice Model
Utility
Simple concepts Random selection Apply model among selected alternatives only A better Algorithm is needed sample size=20sample size=200 Y = X Zone 873
SALT – Sample of ALTernatives Add Correction Factor λ = 1/avg(dist) Define a simplified utility Uij = ln(Total_HH+Total_Jobs) + λ*dist(i, j) Compute a pre-defined static probability matrix ( N^2). Draw a sample of alternatives (with replacement) based on the probability matrix Apply the full utility for each sampled alternative and draw the chosen alternative On the fly Pre-Calculated
Correction Factor P(alt)= P(In sample)*P(Full Utility| being sampled) Fix the Monte-Carlo randomness error in the sample Cf(ij)= -ln(freq. of j in sample set / (sample size * Pre Defined probability)) Sample SizeFrequency of Chosen TAZ Pre-Calculated Probability Correction Factor 10110% % %-1.20
Y = X
Optimal Sample Size
Destination Choice Distribution SALTNON SALT
Destination Choice – Cleveland, OH SALT NON SALT
SFCTA- Workplace Location using SALT Simplified utility under-samples trips to Santa-Clara county (~25 miles) U(j)=jobs + Exp(λ*Max(dist(j),20))
SFCTA Workplace Location
Conclusion Simple – minor code modifications Statistically unbiased Reduce runtime drastically Robust - various sampling method.
Acknowledge Peter Vovsha, PB, New-York Greg Erhardt, PB, San-Francisco
Questions?