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.3.tar.gz (5.7 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.3-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for up_paraspace-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f4603cddc980c9adb61a4e840dd6c2496d9f0dd50b47e694154af9611ac9f450
MD5 55105778f1f49e4472faa45de41a2644
BLAKE2b-256 c586fa4dc26b411fc7d7a7f8b93416e2962d21bed316bc32cb9fbbabe83ab345

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for up_paraspace-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 27659bfe5c4893eb0844612915877ede14bc285aed20881c53ab2b1b2bb50a40
MD5 88079edf259b878b8a66e203b38e31f7
BLAKE2b-256 d442e055265dc6f4bb4c307da0231ced9b78a99258d252f07d0f0a5f9f4e3d3c

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