Skip to main content

Integration of Paraspace with the Unified Planning Library

The aim of this project is to make the Paraspace planning engine available in the unified_planning library by the AIPlan4EU project. Paraspace is a simple, flexible and extensible solver for timeline-based planning problems using Z3 and a novel abstraction refinement algorithm.

Installation

Installing from PyPi is recommended because pre-built packages of Paraspace's Python integration are available for Windows and Linux.

pip install unified-planning up-paraspace

Usage

from unified_planning.shortcuts import *
import up_paraspace

problem = Problem('myproblem')
# specify the problem (e.g. fluents, initial state, actions, goal)
...

planner = OneshotPlanner(name="paraspace")
result = planner.solve(problem)
print(result)

Building/publishing

This section is intended for package maintainers.

Up-paraspace is a pure Python package that does not need to build any native code. The pyparaspace package that it depends on has a more involved build process. Building and publishing is done with hatch. Run:

hatch publish

Metadata

Release files for up-paraspace 0.0.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for up-paraspace 0.0.12
File Size Uploaded
up_paraspace-0.0.12.tar.gz 12.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for up-paraspace 0.0.12
File Interpreter ABI Platform
up_paraspace-0.0.12-py3-none-any.whl Python 3 none any Details

Total release size: 28.3 kB

Release files / up_paraspace-0.0.12.tar.gz

Download URL up_paraspace-0.0.12.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
caad577873494444967fd968b0d4c218330d9d41db0e19d1b2729ff5885b6d66
BLAKE2b-256 checksum
How to use checksums
ae5ba32253c7c30e50ce8a54fdba54c40816c6c235a7587219d909a9f1f79f68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.24.1

Release files / up_paraspace-0.0.12-py3-none-any.whl

Download URL up_paraspace-0.0.12-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07418d51dcc38c2ae5b6ba4595d8b995e79d3d2a8d3a0df0f35afe3f8db1e3f1
BLAKE2b-256 checksum
How to use checksums
afd104794c70d0c46a9443ea38246f20e68af9c6327ebeb0240b86e408d6cd43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.24.1

Release history Release notifications | RSS feed

This release

0.0.12 This release

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page