Update README.md
Browse files
README.md
CHANGED
@@ -17,7 +17,7 @@ tags:
|
|
17 |
|
18 |
- 🤠GreedRL is a fast and general framework for **Combinatorial Optimization Problems (COPs)**, based on **Deep Reinforcement Learning (DRL)**.
|
19 |
|
20 |
-
- 🤠GreedRL achieves **1200 times faster and 3% improved performance** than [Google OR-Tools](https://developers.
|
21 |
|
22 |
## 🏆Award
|
23 |
|
@@ -43,7 +43,7 @@ tags:
|
|
43 |
We provide an open source Community Edition and an Enterprise Edition of our 🤠GreedRL for users.
|
44 |
|
45 |
- **The Community Edition** is now released and available to [download](https://huggingface.co/HUANG1993/GreedRL-VRP-pretrained-v1).
|
46 |
-
- **The Enterprise Edition** has a high-performance implementation that achives a faster computing speed, especially when solving larg-scale COPs. For more informations, please contact
|
47 |
|
48 |
|
49 |
## Architecture
|
@@ -573,12 +573,12 @@ We are delighted to release 🤠GreedRL Community Edition, as well as example of
|
|
573 |
## Installation
|
574 |
First, clone the repository.
|
575 |
```aidl
|
576 |
-
$ git clone https://huggingface.co/
|
577 |
```
|
578 |
Then, create and activate a python environment using conda, and install required packages.
|
579 |
```aidl
|
580 |
$ conda create -n python38 python==3.8
|
581 |
-
$
|
582 |
$ pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu113
|
583 |
```
|
584 |
Finally, compile and add the resulting library `greedrl` to the `PYTHONPATH`
|
@@ -597,21 +597,21 @@ We use generated data for the training phase, the customers and depot locations
|
|
597 |
2. Start training
|
598 |
```python
|
599 |
$ cd examples/cvrp
|
600 |
-
$ python train.py --model_filename
|
601 |
```
|
602 |
|
603 |
## CVRP Testing
|
604 |
|
605 |
-
After training process, you'll get a trained model, like `
|
606 |
|
607 |
```python
|
608 |
$ cd examples/cvrp
|
609 |
-
$ python solve.py --device
|
610 |
```
|
611 |
|
612 |
# Support
|
613 |
We look forward you to downloading it, using it, and opening discussion if you encounter any problems or have ideas on building an even better experience.
|
614 |
-
For commercial enquiries, please contact
|
615 |
|
616 |
# Citation
|
617 |
```
|
@@ -626,6 +626,3 @@ For commercial enquiries, please contact [us]([email protected]).
|
|
626 |
publisher={INFORMS}
|
627 |
}
|
628 |
```
|
629 |
-
|
630 |
-
# About GreedRL
|
631 |
-
- Website: https://greedrl.github.io/
|
|
|
17 |
|
18 |
- 🤠GreedRL is a fast and general framework for **Combinatorial Optimization Problems (COPs)**, based on **Deep Reinforcement Learning (DRL)**.
|
19 |
|
20 |
+
- 🤠GreedRL achieves **1200 times faster and 3% improved performance** than [Google OR-Tools](https://developers.googleus/optimization) for large-scale (>=1000 nodes) CVRPs.
|
21 |
|
22 |
## 🏆Award
|
23 |
|
|
|
43 |
We provide an open source Community Edition and an Enterprise Edition of our 🤠GreedRL for users.
|
44 |
|
45 |
- **The Community Edition** is now released and available to [download](https://huggingface.co/HUANG1993/GreedRL-VRP-pretrained-v1).
|
46 |
+
- **The Enterprise Edition** has a high-performance implementation that achives a faster computing speed, especially when solving larg-scale COPs. For more informations, please contact <a href="mailto:[email protected]">us</a>.
|
47 |
|
48 |
|
49 |
## Architecture
|
|
|
573 |
## Installation
|
574 |
First, clone the repository.
|
575 |
```aidl
|
576 |
+
$ git clone https://huggingface.co/Cainiao-AI/GreedRL
|
577 |
```
|
578 |
Then, create and activate a python environment using conda, and install required packages.
|
579 |
```aidl
|
580 |
$ conda create -n python38 python==3.8
|
581 |
+
$ source activate python38
|
582 |
$ pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu113
|
583 |
```
|
584 |
Finally, compile and add the resulting library `greedrl` to the `PYTHONPATH`
|
|
|
597 |
2. Start training
|
598 |
```python
|
599 |
$ cd examples/cvrp
|
600 |
+
$ python train.py --model_filename cvrp_100.pt --problem_size 100
|
601 |
```
|
602 |
|
603 |
## CVRP Testing
|
604 |
|
605 |
+
After training process, you'll get a trained model, like `cvrp_100.pt`, that you can use for test.
|
606 |
|
607 |
```python
|
608 |
$ cd examples/cvrp
|
609 |
+
$ python solve.py --device cpu --model_name cvrp_100.pt --problem_size 100
|
610 |
```
|
611 |
|
612 |
# Support
|
613 |
We look forward you to downloading it, using it, and opening discussion if you encounter any problems or have ideas on building an even better experience.
|
614 |
+
For commercial enquiries, please contact <a href="mailto:[email protected]">us</a>.
|
615 |
|
616 |
# Citation
|
617 |
```
|
|
|
626 |
publisher={INFORMS}
|
627 |
}
|
628 |
```
|
|
|
|
|
|