Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Gas

This example is a multivariable maximization problem, thus the variables (atom states) are continuous in nature. The full details of the problem are described and fully attributed to here.

In this case, the atom array is defined as follows:

  • 2 resource rows:
    • row 1: level of gas
    • row 2: level of chloride
  • 1 time column
  • 100 states: floating point value from 0.00 - 0.99 (quantized interval of 0.01)

Next is a sample run via the azo command line utility (CLI):

azo command line parameters:

--run debug --pf "C:\Amazolve\samples\gasProb\gas.json" --tc 10 --st 10 --ss 2300

Output:

***** Score: 2300.000000 in 0.395000 seconds *****
***** Score Reached *****

** Solver Results **
--------------------

Score  :        2300.000000
Stop   :        1
Time   :        0.395000

R Count:        2
T Count:        1
S Count:        100

Atoms:
[
        [ 20 ],
        [ 30 ]
]

Constraints:
S1: 2300.000000 (6 ms)
ctMaxTotal: -0.000000 (5 ms)
ctMaxTotal2: -0.000000 (8 ms)
ctMaxChloride: -0.000000 (6 ms)