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.

Usage

from unified_planning.shortcuts import *
from unified_planning.engines import PlanGenerationResultStatus

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

planner = OneshotPlanner(name="paraspace")
result = planner.solve(problem)
if result.status == PlanGenerationResultStatus.SOLVED_SATISFICING:
    print(f'{Found a plan.\nThe plan is: {result.plan}')
else:
    print("No plan found.")

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.2.tar.gz (5.6 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.2-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for up_paraspace-0.0.2.tar.gz
Algorithm Hash digest
SHA256 58ac663b818bda59b1c1bc22975c6f250647506f01c56aa2dd3608c0ccd09d7c
MD5 9a7e799ff9f7a1dc5cbb29b898743cfd
BLAKE2b-256 8e13c9c0da400955e2bd1dd5b517659d9a5dc6d2a5e6033a0f7be0edfe70acbe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: up_paraspace-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for up_paraspace-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5b616ec9d11bacae145e75b9cf6adf75f8f58bc467a72dfbfbe238760cd01784
MD5 fb2743693f869bc45dfacc59ef00f3e2
BLAKE2b-256 f91f892d24d6a4e53d773fb6ec158841330c6a4d471ac1c11dbcb7d00c3f100b

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