DecisionProgramming-1.0
توضیحات
Python interface for DecisionProgramming.jl
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | DecisionProgramming-1.0 |
| نام | DecisionProgramming |
| نسخه کتابخانه | 1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jarno Rantaharju |
| ایمیل نویسنده | jarno.rantaharju@aalto.fi |
| آدرس صفحه اصلی | https://github.com/gamma-opt/pyDecisionProgramming |
| آدرس اینترنتی | https://pypi.org/project/DecisionProgramming/ |
| مجوز | MIT |
# pyDecisionProgramming
[](https://gamma-opt.github.io/pyDecisionProgramming/)
Python interface for DecisionProgramming.jl.
[DecisionProgramming.jl](https://github.com/gamma-opt/DecisionProgramming.jl)
is a [Julia](https://julialang.org/) package for solving
multi-stage decision problems under uncertainty, modeled
using influence diagrams. Internally, it relies on
mathematical optimization. Decision models can be embedded
within other optimization models. We designed the package
as [JuMP](https://jump.dev/) extension.
## Installation
### Ubuntu 20.04:
1. Install Julia
Download julia at [https://julialang.org/downloads].
Follow the instructions at Platform Specific
Instructions.
2. Install pyDecisionProgramming:
```
pip install DecisionProgramming
```
3. Install Julia requirements
After installing the Python package, running the command
```
pdp_setup_julia.py
```
should be sufficient to install the required Julia
packages. Alternatively, install the DecisionProgramming
package in Julia:
```
using Pkg
Pkg.add(url="https://github.com/gamma-opt/DecisionProgramming.jl.git")
```
## Usage
See the
[documentation](https://gamma-opt.github.io/pyDecisionProgramming/usage/)
for details on constructing a graph and finding the optimal
path through a graph.
# Environments
Set up the a Julia environment in the current folder run
the Python script
```
import DecisionProgramming as dp
dp.setup_project()
```
To use this environment in a Python script, use
```
import DecisionProgramming as dp
dp.activate()
```
نیازمندی
| مقدار | نام |
|---|---|
| - | julia |
| - | numpy |
نحوه نصب
نصب پکیج whl DecisionProgramming-1.0:
pip install DecisionProgramming-1.0.whl
نصب پکیج tar.gz DecisionProgramming-1.0:
pip install DecisionProgramming-1.0.tar.gz