Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/corail-research/seapearlzoo.jl
SeaPearl's pool of examples
https://github.com/corail-research/seapearlzoo.jl
Last synced: about 2 months ago
JSON representation
SeaPearl's pool of examples
- Host: GitHub
- URL: https://github.com/corail-research/seapearlzoo.jl
- Owner: corail-research
- License: bsd-3-clause
- Created: 2020-07-20T12:25:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-17T15:45:07.000Z (over 1 year ago)
- Last Synced: 2024-10-18T02:31:56.708Z (3 months ago)
- Language: Jupyter Notebook
- Homepage:
- Size: 3.49 MB
- Stars: 21
- Watchers: 5
- Forks: 0
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SeaPearlZoo
This project provides some examples of [SeaPearl.jl](https://github.com/corail-research/SeaPearl.jl)'s utilisation. One will find good practices to run experiences with SeaPearl.jl.
## Launch graph coloring learning
You need to have julia 1.8 installed.
First, clone SeaPearlZoo locally:
```bash
$ git clone https://github.com/corail-research/SeaPearlZoo.jl
```
If a Manifest.toml file is already present in your repo, delete it.Now, activate and instantiate (download and install all the packages) the environment:
```
$ julia
julia> ]
(@v1.8) pkg> activate .
(graph_coloring) pkg> instantiate
```Go back to the [julia REPL](https://docs.julialang.org/en/v1/stdlib/REPL/) by pressing backspace.
Finally, you can launch the `graph_coloring.jl` file :
```julia
julia> include("src/learning_cp/graph_coloring/graph_coloring.jl")
```Here you should see a ProgressBar showing you the evolution of the training and then the progression of the benchmarking. You will end up with csv files stored in the same directory to measure the performances. The trained weights will also be stored in a BSON file.
```## Repo organisation
- classic_cp (just constraint programming problems without learning)
- All-interval_Series
- graph_coloring
- eternity2
- jobshop
- kidney_exchange
- knapsack
- latin
- nqueens
- tsptw
- learning_cp (using SeaPearl.jl to have an agent learn a value selection heuristic)
- eternity2
- graph_coloring
- kidney_exchange
- knapsack
- latin
- nqueens
- tsptw