Skip to content

The assignment of a transportation course for my first year as a graduate student, solved the bilevel programming problem using GA algorithm and T-F algorithm.

License

Notifications You must be signed in to change notification settings

qizidog/Traffic-Network-Design

Repository files navigation

Traffic-Network-Design

The assignment of a transportation course for my first year as a graduate student, solved the bilevel programming problem using GA algorithm and T-F algorithm.

Quote

The main repositories used in this assignment are as follows,

  • GeneticAlgorithmsWithPython is used to solve the Traffic assignment problem —— solve User Equilibrium using F-W algorithm
  • geatpy is used to calculate the optimal value of the upper objective function

The version of geatpy I use is updated as follow:

(base) [user@host Traffic-Network-Design (master ✗)]$ conda list geatpy
# packages in environment at /Users/user/miniforge3:
#
# Name                    Version                   Build  Channel
geatpy                    2.7.0                    pypi_0    pypi

HOW TO USE

  • Define your network information in class MyNetwork in Myproblem.py
  • Define the upper and lower bounds of the independent variable and the aimFunc in class MyProblem in Myproblem.py
  • Set the necessary parameters related to genetic algorithm in main.py such as NIND and myAlgorithm.MAXGEN
  • Run the program
    python main.py

More Info

As this is only a homework of my own, I don't want to spend too much time on this document.
For more information, please refer to the repositories I cited above.

About

The assignment of a transportation course for my first year as a graduate student, solved the bilevel programming problem using GA algorithm and T-F algorithm.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages