# SDN路由优化虚拟仿真实验设计 **Repository Path**: baselinehao/master ## Basic Information - **Project Name**: SDN路由优化虚拟仿真实验设计 - **Description**: 基于强化学习的软件定义网络路由优化虚拟仿真实验设计 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-13 - **Last Updated**: 2025-08-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Instructions to execute 1. First, create the virtual environment and activate the environment. ```ruby virtualenv -p python3 myenv source myenv/bin/activate ``` 2. Then, we install all the required packages. ```ruby pip install -r requirements.txt ``` 3. Register custom gym environment. ```ruby pip install -e gym-environments/ ``` 4. Now we are ready to train a DQN agent. To do this, we must execute the following command. Notice that inside the *train_DQN.py* there are different hyperparameters that you can configure to set the training for different topologies, to define the size of the GNN model, etc. ```ruby python train_DQN.py ```