Skip to main content

SOCKS: Stochastic Optimal Control using Kernel Methods

Project description

SOCKS :socks:

build Code style: black Binder Documentation Status

NOTE: SOCKS is still under active (alpha) development 🚧👷🚧. Code is provided as-is, and some algorithms may not work as intended before the initial release. Please check back soon for the official release.

SOCKS is a suite of algorithms for stochastic optimal control using kernel methods.

It runs on top of OpenAI Gym, and comes with several classic controls Gym environments. In addition, it can integrate with many pre-existing Gym environments.

Installation

To install the toolbox, use pip install gym-socks. Alternatively, download the code from the GitHub repo and install using pip install . from the code directory.

We support Python versions 3.7, 3.8, and 3.9 on Linux and macOS. We do not officially support Windows.

Examples

SOCKS comes with several examples in the GitHub repo. In order to run the examples, first install the package and use python examples/<example> from the code directory.

For example, python python examples/control/tracking.py will run the optimal control algorithm on the tracking benchmark using nonholonomic vehicle dynamics.

Citation

In order to cite the toolbox, use the following bibtex entry:

@inproceedings{thorpe2022hscc,
  title={{SOCKS}: A Kernel-Based Stochastic Optimal Control and Reachability Toolbox},
  authors={Thorpe, Adam J. and Oishi, Meeko M. K.},
  year={2022},
  booktitle={Proceedings of the 25th ACM International Conference on Hybrid Systems: Computation and Control (to appear)},
}

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

gym-socks-0.1.0a1.tar.gz (45.6 kB view details)

Uploaded Source

Built Distribution

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

gym_socks-0.1.0a1-py3-none-any.whl (69.9 kB view details)

Uploaded Python 3

File details

Details for the file gym-socks-0.1.0a1.tar.gz.

File metadata

  • Download URL: gym-socks-0.1.0a1.tar.gz
  • Upload date:
  • Size: 45.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for gym-socks-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 30913b798afa26ec962a2633b3e092d1b08eaab656eb23ae11539f04dfeef57a
MD5 04fdc084f42e5bd7473d59e3a10627ab
BLAKE2b-256 5d67ad08b9baa7755ca64a038779d8140cf09837d5630b1e939cc7c5ced50d43

See more details on using hashes here.

File details

Details for the file gym_socks-0.1.0a1-py3-none-any.whl.

File metadata

  • Download URL: gym_socks-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 69.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for gym_socks-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 e75a65cb354549fd289ae15ef302777672e3e82db06fba7886488b01c366200d
MD5 583740eb26063c2b9912f3e7746fb74a
BLAKE2b-256 4b751c08a99808315befd2660baf7bf7029cc6e6b13b3662f6bf07753ef05be9

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