Skip to content

Commit 5c8d8f5

Browse files
authored
fix: Updated README with plots
1 parent 9820441 commit 5c8d8f5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -67,23 +67,27 @@ soln, cost, scores, nfe, seed = sga2.run(domain=domain['domain'], fitness_functi
6767
plot_scores(scores, sga2.get_base(),fname='flight_scheduling', save_fig=False)
6868

6969
```
70+
This results in the following two plots:
71+
72+
![](https://github.com/Agrover112/fliscopt/blob/master/examples/image.png)
73+
7074
Checkout out the examples in the [examples](https://github.com/Agrover112/fliscopt/tree/master/examples) directory or run in [Google Collab](https://colab.research.google.com/drive/1C9tPvDvauUPxxkL4ItGYP1Azlg6NUBaW?usp=sharing)
7175

7276
## For PyPy users
7377
The instructions for setup are mentioned in the setup directory. Alternatively, you can set up using this bash script. A requirements file is provided just in case.
7478
The script creates and activates a PyPy Conda environment with all libraries and dependencies.
75-
```
79+
```bash
7680
cd ./setup.sh
7781
source setup.sh
7882
```
7983
Then install using:
8084

81-
```
85+
```bash
8286
pypy -mpip install fliscopt
8387
```
8488
# Testing
8589
After adding any new algorithm, you can run the tests to check if the code is working properly.
86-
```
90+
```bash
8791
./run_tests.sh
8892
```
8993

0 commit comments

Comments
 (0)