Fortran code for the paper : Transport Policies in Polycentric Cities
moez kilani 6649f9c840 Mise à jour de 'README.md' | преди 1 година | |
---|---|---|
bobyqa | преди 5 години | |
cobyla | преди 5 години | |
src | преди 3 години | |
README.md | преди 1 година | |
makefile | преди 3 години | |
scbd.dat | преди 3 години |
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 Practice, 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://gogs.univ-littoral.fr/mkilani/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.