PRISM

Benchmark
Model:resource-gathering v.2 (MDP)
Parameter(s)B = 1300, GOLD_TO_COLLECT = 100, GEM_TO_COLLECT = 100
Property:expsteps (exp-steps)
Invocation (default)
./fix-syntax ./prism --javamaxmem 11g resource-gathering.pm resource-gathering.prctl --property expsteps -const B=1300,GOLD_TO_COLLECT=100,GEM_TO_COLLECT=100
Default settings.
Execution
Walltime:52.676025390625s
Return code:0
Relative Error:5.8081603920028655e-06
Log
PRISM
=====

Version: 4.4.dev
Date: Tue Dec 11 01:16:28 CET 2018
Hostname: qcomp2019
Memory limits: cudd=1g, java(heap)=1g
Command line: prism --javamaxmem 11g resource-gathering.pm_fixed resource-gathering.prctl_fixed --property expsteps -const 'B=1300,GOLD_TO_COLLECT=100,GEM_TO_COLLECT=100'

Parsing model file "resource-gathering.pm_fixed"...

Parsing properties file "resource-gathering.prctl_fixed"...

3 properties:
(1) "expgold": R{"rew_gold"}max=? [ C<=B ]
(2) "expsteps": R{"time_reward"}min=? [ F "success" ]
(3) "prgoldgem": Pmax=? [ F<=B "success" ]

Type:        MDP
Modules:     robot goldcounter gemcounter 
Variables:   gold gem attacked x y required_gold required_gem 

---------------------------------------------------------------------

Model checking: "expsteps": R{"time_reward"}min=? [ F "success" ]
Model constants: GOLD_TO_COLLECT=100,GEM_TO_COLLECT=100,B=1300

Building model...
Model constants: GOLD_TO_COLLECT=100,GEM_TO_COLLECT=100,B=1300

Computing reachable states...

Reachability (BFS): 1215 iterations in 0.90 seconds (average 0.000740, setup 0.00)

Time for model construction: 0.811 seconds.

Type:        MDP
States:      958894 (1 initial)
Transitions: 3325526
Choices:     3080702

Transition matrix: 898 nodes (4 terminal), 3325526 minterms, vars: 23r/23c/4nd

Prob0A: 1203 iterations in 1.11 seconds (average 0.000924, setup 0.00)

Prob1E: 1204 iterations in 1.25 seconds (average 0.001038, setup 0.00)

Warning: PRISM hasn't checked for zero-reward loops.
Your minimum rewards may be too low...

goal = 94, inf = 0, maybe = 958800

Computing remaining rewards...
Switching engine since hybrid engine does yet support this computation...
Engine: Sparse

Building sparse matrix (transitions)... [n=958894, nc=3080400, nnz=3325200, k=4] [53.5 MB]
Building sparse matrix (transition rewards)... [n=958894, nc=3080400, nnz=0, k=4] [15.4 MB]
Creating vector for state rewards... [7.3 MB]
Creating vector for inf... [7.3 MB]
Allocating iteration vectors... [2 x 7.3 MB]
TOTAL: [98.1 MB]

Starting iterations...
Iteration 139: max relative diff=0.007194, 5.00 sec so far
Iteration 278: max relative diff=0.003597, 10.01 sec so far
Iteration 418: max relative diff=0.002392, 15.02 sec so far
Iteration 559: max relative diff=0.001789, 20.05 sec so far
Iteration 700: max relative diff=0.001429, 25.08 sec so far
Iteration 843: max relative diff=0.001186, 30.09 sec so far
Iteration 986: max relative diff=0.001014, 35.11 sec so far
Iteration 1133: max relative diff=0.000883, 40.13 sec so far
Iteration 1282: max relative diff=0.000556, 45.13 sec so far

Iterative method: 1369 iterations in 48.75 seconds (average 0.035085, setup 0.72)

Value in the initial state: 1292.5850850074933

Time for model checking: 51.202 seconds.

Result: 1292.5850850074933 (value in the initial state)


Overall running time: 52.472 seconds.

---------------------------------------------------------------------

Note: There was 1 warning during computation.