Skip to content

Commit f7f2668

Browse files
committed
update astrodf.py, san.py, GUI.py
update astrodf.py, san.py, GUI.py
1 parent 055f220 commit f7f2668

14 files changed

+512
-781
lines changed

docs/cntnv.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Sources of Randomness:
1414
----------------------
1515

1616
Each day's random demand for liquid product follows Burr Type XII distribution and is denoted by :math:`D`.
17-
Ther parameters of the Burr Type XII distribution are :math:`α` and :math:`β` so that its cumulative
18-
distribution function is given by :math:`F(x) = 1 - (1-x^α)^{-β}` where :math:`x, α,` and
17+
The parameters of the Burr Type XII distribution are :math:`α` and :math:`β` so that its cumulative
18+
distribution function is given by :math:`F(x) = 1 - (1+x^α)^{-β}` where :math:`x, α,` and
1919
:math:`β` are all positive.
2020

2121
Model Factors:
@@ -102,10 +102,10 @@ If random solutions are needed, generate :math:`x` from an Exponential distribut
102102
Optimal Solution:
103103
-----------------
104104

105-
Global minimum at :math:`x* = (1/((1-r^)^{1/β})-1)^{1/α}`.
105+
Global minimum at :math:`x* = (1/((1-r)^{1/β})-1)^{1/α}`.
106106
For the default factors, the optimal solution is :math:`x*` = 0.1878.
107107

108108
Optimal Objective Function Value:
109109
---------------------------------
110110

111-
The maximum expected profit is 0.4635.
111+
For the default factors, the maximum expected profit is 0.4635.

docs/san.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ Problem Factors:
7272

7373
* Default: 10000
7474

75+
* arc_costs: Cost associated to each arc.
76+
77+
* Default: (1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1)
78+
7579
Fixed Model Factors:
7680
--------------------
7781
* N/A
710 KB
Binary file not shown.
216 KB
Binary file not shown.
33.3 KB
Loading
44.8 KB
Loading
42 KB
Loading
34.2 KB
Loading

notebooks/hello_simopt.ipynb

Lines changed: 4 additions & 54 deletions
Large diffs are not rendered by default.

simopt/GUI.py

Lines changed: 201 additions & 395 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)