Skip to main content

Multi-Stage Robust Decision Making

Project description

Multi-Stage Robust Decision Making (MSRDM)

Note that this package is not yet implemented.

Multi-Stage Robust Decision Making (MSRDM) is a decision-support framework under deep uncertainty.

Installation

MSRDM runs on Python 3.8 or higher.

Dependencies are numpy and pandas. Optional dependencies are matplotlib, seaborn, and plotly, which are required for plotting functions.

It can be installed by

pip install msrdm

Usage

HoU Analysis

from msrdm.uncertainty import RealUncertainParameter, EllipticUncertaintyRegion
from msrdm import hou_analysis

# Define uncertain parameters
w1 = RealUncertainParameter('w1', nominal=0, lower_deviation=1, upper_deviation=1, dog='greater')
w2 = RealUncertainParameter('w2', nominal=3, lower_deviation=4, upper_deviation=5, dog='greater')

# Define uncertain region
uncertainty_region = EllipticUncertaintyRegion([w1, w2])

# Define objective function
def func(x, w):
    assert x == 1 or x == 2
    return w[x]

# Conduct HoU analysis
result = hou_analysis(func=func, policies=[1, 2])

To-Do's

License

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

msrdm-0.0.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

msrdm-0.0.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: msrdm-0.0.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for msrdm-0.0.2.tar.gz
Algorithm Hash digest
SHA256 35cf0d33283fb4dc5211232aff1b37dd5eb84af33933a09adbeea22bb5881d73
MD5 5878f8e5d8b1743f208b8e164b077574
BLAKE2b-256 ef8360cfd51a9075c1c4dc975c3eeb3e62c3dac581e40936e29396a37e658411

See more details on using hashes here.

File details

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

File metadata

  • Download URL: msrdm-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for msrdm-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cced55ef142346a04b156b5940583e9a90781e49bb214af950fb802adfebb8b9
MD5 b2061614c68839c615e9bd89efc358fc
BLAKE2b-256 ca8859444d411d1c8558e7ffb04d77839421950faaf8d1c374f7410ca7e48802

See more details on using hashes here.

Supported by

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