Fortran code for the paper : Transport Policies in Polycentric Cities
moez kilani b61f4e05da Small adjustments | il y a 2 ans | |
---|---|---|
bobyqa | il y a 5 ans | |
cobyla | il y a 5 ans | |
src | il y a 3 ans | |
README.md | il y a 2 ans | |
makefile | il y a 3 ans | |
scbd.dat | il y a 3 ans |
This package is provided as a companion to the paper
Transport policies in polycentric cities, by Q. David and M. Kilani, Transportation Research Part A: Policy and Practive, 2022.
The package is composed of two executables :
The optimization step relies on the packages BOBYQA and COBYLA written by Pr. Powell (the double precision versions are used).
The file scbd.dat is read for model parameters.
The source code is located in the src subdirectory. The subroutines are separated into several files. The EQUILIBRIUM subroutine is central since it is the one where the network equilibrium is computed.
Install gfortran (or another Fortran compiler)
Clone this directory
git clone https://github.com/mkilani-dev/scbd
Check makefile (edit compiler name if not gfortran)
Type make; scbd and f_scbd executables are produced
Edit parameter values in scbd.dat file and save
The command ./scbd can then be used and the output is written to the screen. Standard redirection can be used to save output to file.
For some parameter values the obtained output may not be optimal because the trust region search is not convenient. In case of doubt, it is preferable to change the values of parameters RHOBEG and RHOEND and check for robustness. Too small values may miss the exploration of the optimal region and values that are too large are likely to yield instability and non convergence. The given values should work well if the values of the model parameters are are not changed so much.