Skip to content

Commit

Permalink
Merge pull request #1 from speckdavid/sprint2
Browse files Browse the repository at this point in the history
Sprint 2: Optimizing Plan Utility
  • Loading branch information
speckdavid authored Jul 25, 2023
2 parents 06b14c4 + 65dcbdd commit 743c8c0
Show file tree
Hide file tree
Showing 10 changed files with 4,057 additions and 280 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macOS-11, macOS-latest, windows-2022]
os: [macOS-11, macOS-12, macos-13, windows-2022]

steps:
- uses: actions/checkout@v3
Expand All @@ -51,7 +51,7 @@ jobs:
deploy-pypi:
runs-on: ubuntu-latest
needs: [build-linux, build-win-and-mac]
if: github.repository == 'speckdavid/up-symk' # We only deploy on the correct repo (TODO: change the repo)
if: ${{ (github.repository == 'speckdavid/up-symk') && (github.ref == 'refs/heads/master') }} # We only deploy on the correct repo and branch

steps:
- uses: actions/download-artifact@master
Expand Down
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
# Integration of SymK with the Unified Planning Library

This repository was created within the `Symbolic Search for Diverse Plans and Maximum Utility` project funded by the by the [AIPlan4EU project](https://www.aiplan4eu-project.eu/).
This project aims to enhance the [unified planning library](https://github.com/aiplan4eu/unified-planning) with four expressive extensions to traditional classical planning using the symbolic search planner [SymK](https://github.com/speckdavid/symk).

## Installation
Currently, we are in the development phase.
We recommend building our version of the [unified planning library](https://github.com/speckdavid/unified-planning) locally and then building this `up-symk` package locally.

Currently we are in the development phase and everything has to be built locally. First, build locally our version of the [unified planning library](https://github.com/speckdavid/unified-planning) where we have registered SymK.
Please note that many core functionalities have already been merged into the official unified planning library repository, and the stable pypi version is available. You can install everything with `pip install unified-planning` and `pip install up-symk`.
However, it's important to be aware that the stable version 1.0.0 of unified-planning does not include all the necessary changes yet.
Therefore, we recommend following the installation steps below to proceed:

The following should install all necessary dependencies.
```
Expand All @@ -24,4 +31,6 @@ pip install up-symk/
```

## Usages
In the [notebooks folder](notebooks/), you can find an [example](https://github.com/aiplan4eu/up-symk/blob/master/notebooks/symk_usage.ipynb) of how to use the SymK planner within the unified planning library.
In the [notebooks folder](notebooks/), you can find two examples of how to use the SymK planner within the unified planning library.
- [Multi-Solution Generation: Using SymK in the Unified Planning Library](https://github.com/aiplan4eu/up-symk/blob/master/notebooks/symk_usage.ipynb)
- [Optimizing Plan Utility: Using SymK in the Unified Planning Library](https://github.com/aiplan4eu/up-symk/blob/master/notebooks/symk_osp_usage.ipynb)
576 changes: 576 additions & 0 deletions notebooks/symk_osp_usage.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 743c8c0

Please sign in to comment.