Giter VIP home page Giter VIP logo

flexentry's Introduction

FlexEntry: Mitigating Routing Update Overhead for Traffic Engineering by Combining Destination-based Routing with Reinforcement Learning

This is a Tensorflow implementation of FlexEntry as described in our paper:

Minghao Ye, Yang Hu, Junjie Zhang, Zehua Guo, H. Jonathan Chao, "Mitigating Routing Update Overhead for Traffic Engineering by Combining Destination-based Routing with Reinforcement Learning," in IEEE Journal on Selected Areas in Communications, vol. 40, no. 9, pp. 2662-2677, Sept. 2022, doi: 10.1109/JSAC.2022.3191337.

Prerequisites

  • Please install prerequisites (test with Ubuntu 20.04, Python 3.8.5, Tensorflow v2.2.0, Gurobi 9.1.1, networkx 2.5, tqdm 4.51.0)

Training

  • For stage 1, to train a sub-model for a topology, unzip and put the topology file (e.g., Ebone) and the traffic matrix file (e.g., EboneTM) in stage1/data/, then specify the file name in config.py, i.e., topology_file = 'Ebone' and traffic_file = 'TM', and then run
python3 stage1/train.py
  • For stage 2, to train a stage 2 model for a topology, unzip and put the topology file (e.g., Ebone) and the traffic matrix file (e.g., EboneTM) in stage2/data/, then specify the file name in config.py, i.e., topology_file = 'Ebone' and traffic_file = 'TM', and then run
python3 stage2/train.py
  • In a traffic matrix file, each line belongs to a N*N traffic matrix, where N is the node number of a topology.
  • Please refer to stage1/config.py and stage2/config.py for more details about configurations.

Testing

  • To test the sub-model in stage 1 on a set of test traffic matrices, put the test traffic matrix file (e.g., AbileneTM2) in data/, then specify the file name in config.py, i.e., test_traffic_file = 'TM2', and then run
python3 stage1/test.py
  • To test the model in stage 2 on a set of test traffic matrices, put the test traffic matrix file (e.g., AbileneTM2) in data/, then specify the file name in config.py, i.e., test_traffic_file = 'TM2', and put the sub-models in stage2/models, then run
python3 stage2/test.py

Reference

Please cite our paper if you find our paper/code is useful for your work.

@ARTICLE{ye2022flexentry, author={Ye, Minghao and Hu, Yang and Zhang, Junjie and Guo, Zehua and Chao, H. Jonathan}, journal={IEEE Journal on Selected Areas in Communications}, title={Mitigating Routing Update Overhead for Traffic Engineering by Combining Destination-Based Routing With Reinforcement Learning}, year={2022}, volume={40}, number={9}, pages={2662-2677}, doi={10.1109/JSAC.2022.3191337}}

flexentry's People

Contributors

yanghu-bit avatar terrakagari avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.