Skip to main content

No project description provided

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

up_paraspace-0.0.12.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

up_paraspace-0.0.12-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file up_paraspace-0.0.12.tar.gz.

File metadata

  • Download URL: up_paraspace-0.0.12.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for up_paraspace-0.0.12.tar.gz
Algorithm Hash digest
SHA256 caad577873494444967fd968b0d4c218330d9d41db0e19d1b2729ff5885b6d66
MD5 d89d46d431f618e7cd1f8932f655ad9e
BLAKE2b-256 ae5ba32253c7c30e50ce8a54fdba54c40816c6c235a7587219d909a9f1f79f68

See more details on using hashes here.

File details

Details for the file up_paraspace-0.0.12-py3-none-any.whl.

File metadata

File hashes

Hashes for up_paraspace-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 07418d51dcc38c2ae5b6ba4595d8b995e79d3d2a8d3a0df0f35afe3f8db1e3f1
MD5 6cf9719c924761b8576b4ead88f2a256
BLAKE2b-256 afd104794c70d0c46a9443ea38246f20e68af9c6327ebeb0240b86e408d6cd43

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page