Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
osarsa-aaai-25
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ml-rug
osarsa-aaai-25
Commits
dc37cb70
Commit
dc37cb70
authored
1 month ago
by
jilles dibangoye
Browse files
Options
Downloads
Plain Diff
Merge branch 'dibangoye-
de98eaf8
-patch-5f7f' into 'main'
Update file README.md See merge request
!2
parents
de98eaf8
2a1c48da
No related branches found
Branches containing commit
No related tags found
1 merge request
!2
Update file README.md
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+33
-14
33 additions, 14 deletions
README.md
with
33 additions
and
14 deletions
README.md
+
33
−
14
View file @
dc37cb70
...
@@ -22,11 +22,11 @@ The repository is organized to enable researchers and practitioners to:
...
@@ -22,11 +22,11 @@ The repository is organized to enable researchers and practitioners to:
## Contents
## Contents
-
`cmake/`
: Configuration files for CMake build system.
-
`src/`
: Main C++ source code.
-
`include/tb2/`
: Header files used in the SCP implementation.
-
`src/`
: Main C++ source code for the SCP approach.
-
`tests/`
: Unit tests for key components.
-
`CMakeLists.txt`
: Build configuration file.
-
`CMakeLists.txt`
: Build configuration file.
-
`tests/`
: Python scripts (to run multiple experiments and/or plot results).
-
`cmake/`
: Configuration files for CMake build system.
-
`include/tb2/`
:
[
Toulbar
](
https://github.com/toulbar2/toulbar2
)
files.
---
---
...
@@ -36,15 +36,14 @@ The repository is organized to enable researchers and practitioners to:
...
@@ -36,15 +36,14 @@ The repository is organized to enable researchers and practitioners to:
-
**C++ Compiler**
: GCC (>= 9.0) or Clang (>= 10.0) recommended.
-
**C++ Compiler**
: GCC (>= 9.0) or Clang (>= 10.0) recommended.
-
**CMake**
: Version 3.15 or higher.
-
**CMake**
: Version 3.15 or higher.
-
**Libraries**
:
-
**Libraries**
:
-
[
Eigen
](
https://eigen.tuxfamily.org
)
: Linear algebra library.
-
[
Eigen
](
https://eigen.tuxfamily.org
)
: Linear algebra library (required).
-
[
Boost
](
https://www.boost.org
)
: General-purpose C++ library.
-
[
Cplex
](
https://www.ibm.com/products/ilog-cplex-optimization-studio
)
: For simultaneous algorithms (optional).
-
[
GTest
](
https://github.com/google/googletest
)
: For running unit tests.
##
#
Installation
## Installation
1.
Clone this repository:
1.
Clone this repository:
```
bash
```
bash
git clone https://git.lwp.rug.nl/ml-rug/osarsa-aaai-25.git
git clone https://git.lwp.rug.nl/ml-rug/osarsa-aaai-25.git
cd
osarsa-aaai-25
cd
osarsa-aaai-25
/code
```
```
2.
Build the project using CMake:
2.
Build the project using CMake:
...
@@ -55,19 +54,39 @@ The repository is organized to enable researchers and practitioners to:
...
@@ -55,19 +54,39 @@ The repository is organized to enable researchers and practitioners to:
make
make
```
```
3.
Run the example:
3.
To run without Cplex: edit CMakeLists.txt, change
```
bash
set
(
USE_CPLEX,
"ON"
)
```
to
```
bash
```
bash
./code/src/problem_examples
set
(
USE_CPLEX,
"OFF"
)
```
```
4.
Test:
```
bash
./sdms
-n
oSarsa-seq
-f
tiger
```
should run the (sequential) oSarsa algorithm on the tiger problem.
---
---
## Usage
## Usage
### Reproducing Results
### Main Options
Reproducing results from the paper:
problem name: -f (mabc, recycling, tiger, boxPushingUAI07, Grid3x3corners, Mars, GridSmall)
agent numbers: -N
planning horizon: -p
algorithm: -n (oSarsa, oSarsa-seq, A2C, IQL)
memory: -m
seed: -s
timeout (seconds): -t
Example:
```
bash
```
bash
./s
rc/main.cpp
./s
dms
-f
GridSmall
-N
3
-p
10
-n
oSarsa-seq
-m
2
-t
100
-s
0
```
```
---
---
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment