Package evaluation of DecisionProgramming on Julia 1.11.4 (a71dd056e0*) started at 2025-04-08T15:01:08.944 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 8.92s ################################################################################ # Installation # Installing DecisionProgramming... Resolving package versions... Updating `~/.julia/environments/v1.11/Project.toml` [0e836bf4] + DecisionProgramming v2.0.0 Updating `~/.julia/environments/v1.11/Manifest.toml` [66dad0bd] + AliasTables v1.1.3 [6e4b80f9] + BenchmarkTools v1.6.0 [523fee87] + CodecBzip2 v0.8.5 [944b1d66] + CodecZlib v0.7.8 [bbf7d656] + CommonSubexpressions v0.3.1 [34da2185] + Compat v4.16.0 [a8cc5b0e] + Crayons v4.1.1 [9a962f9c] + DataAPI v1.16.0 [a93c6f00] + DataFrames v1.7.0 [864edb3b] + DataStructures v0.18.22 [e2d170a0] + DataValueInterfaces v1.0.0 [0e836bf4] + DecisionProgramming v2.0.0 [163ba53b] + DiffResults v1.1.0 [b552c78f] + DiffRules v1.15.1 [ffbed154] + DocStringExtensions v0.9.4 [f6369f11] + ForwardDiff v1.0.1 [842dd82b] + InlineStrings v1.4.3 [41ab1584] + InvertedIndices v1.3.1 [92d709cd] + IrrationalConstants v0.2.4 [82899510] + IteratorInterfaceExtensions v1.0.0 [692b3bcd] + JLLWrappers v1.7.0 [682c06a0] + JSON v0.21.4 [0f8b85d8] + JSON3 v1.14.2 [4076af6c] + JuMP v1.25.0 [b964fa9f] + LaTeXStrings v1.4.0 [2ab3a3ac] + LogExpFunctions v0.3.29 [1914dd2f] + MacroTools v0.5.15 [b8f27783] + MathOptInterface v1.38.1 [e1d29d7a] + Missings v1.2.0 [d8a4904e] + MutableArithmetics v1.6.4 [77ba4419] + NaNMath v1.1.3 [bac558e1] + OrderedCollections v1.8.0 [69de0a69] + Parsers v2.8.1 [2dfb63ee] + PooledArrays v1.4.3 ⌅ [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 [08abe8d2] + PrettyTables v2.4.0 [43287f4e] + PtrArrays v1.3.0 [189a3867] + Reexport v1.2.2 [91c51154] + SentinelArrays v1.4.8 [a2af1166] + SortingAlgorithms v1.2.1 [276daf66] + SpecialFunctions v2.5.0 [1e83bf80] + StaticArraysCore v1.4.3 [10745b16] + Statistics v1.11.1 [82ae8749] + StatsAPI v1.7.0 [2913bbd2] + StatsBase v0.34.4 [892a3eda] + StringManipulation v0.4.1 [856f2bd8] + StructTypes v1.11.0 [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.12.0 [3bb67fe8] + TranscodingStreams v0.11.3 [6e34b625] + Bzip2_jll v1.0.9+0 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [9fa8497b] + Future v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.11.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [a63ad114] + Mmap v1.11.0 [de0858da] + Printf v1.11.0 [9abbd945] + Profile v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [2f01184e] + SparseArrays v1.11.0 [fa267f1f] + TOML v1.0.3 [8dfed614] + Test v1.11.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.1.1+0 [4536629a] + OpenBLAS_jll v0.3.27+1 [05823500] + OpenLibm_jll v0.8.5+0 [bea87d4a] + SuiteSparse_jll v7.7.0+0 [83775a58] + Zlib_jll v1.2.13+1 [8e850b90] + libblastrampoline_jll v5.11.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Installation completed after 4.59s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 44.93s ################################################################################ # Testing # Testing DecisionProgramming Status `/tmp/jl_ZtiCnl/Project.toml` [a93c6f00] DataFrames v1.7.0 [864edb3b] DataStructures v0.18.22 [0e836bf4] DecisionProgramming v2.0.0 [4076af6c] JuMP v1.25.0 [bac558e1] OrderedCollections v1.8.0 [08abe8d2] PrettyTables v2.4.0 [2913bbd2] StatsBase v0.34.4 [2a0f44e3] Base64 v1.11.0 [56ddb016] Logging v1.11.0 [9a3f8284] Random v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_ZtiCnl/Manifest.toml` [66dad0bd] AliasTables v1.1.3 [6e4b80f9] BenchmarkTools v1.6.0 [523fee87] CodecBzip2 v0.8.5 [944b1d66] CodecZlib v0.7.8 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.16.0 [a8cc5b0e] Crayons v4.1.1 [9a962f9c] DataAPI v1.16.0 [a93c6f00] DataFrames v1.7.0 [864edb3b] DataStructures v0.18.22 [e2d170a0] DataValueInterfaces v1.0.0 [0e836bf4] DecisionProgramming v2.0.0 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [ffbed154] DocStringExtensions v0.9.4 [f6369f11] ForwardDiff v1.0.1 [842dd82b] InlineStrings v1.4.3 [41ab1584] InvertedIndices v1.3.1 [92d709cd] IrrationalConstants v0.2.4 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.7.0 [682c06a0] JSON v0.21.4 [0f8b85d8] JSON3 v1.14.2 [4076af6c] JuMP v1.25.0 [b964fa9f] LaTeXStrings v1.4.0 [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.15 [b8f27783] MathOptInterface v1.38.1 [e1d29d7a] Missings v1.2.0 [d8a4904e] MutableArithmetics v1.6.4 [77ba4419] NaNMath v1.1.3 [bac558e1] OrderedCollections v1.8.0 [69de0a69] Parsers v2.8.1 [2dfb63ee] PooledArrays v1.4.3 ⌅ [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [08abe8d2] PrettyTables v2.4.0 [43287f4e] PtrArrays v1.3.0 [189a3867] Reexport v1.2.2 [91c51154] SentinelArrays v1.4.8 [a2af1166] SortingAlgorithms v1.2.1 [276daf66] SpecialFunctions v2.5.0 [1e83bf80] StaticArraysCore v1.4.3 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.7.0 [2913bbd2] StatsBase v0.34.4 [892a3eda] StringManipulation v0.4.1 [856f2bd8] StructTypes v1.11.0 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.0 [3bb67fe8] TranscodingStreams v0.11.3 [6e34b625] Bzip2_jll v1.0.9+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [9fa8497b] Future v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.11.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [de0858da] Printf v1.11.0 [9abbd945] Profile v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [2f01184e] SparseArrays v1.11.0 [fa267f1f] TOML v1.0.3 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.1.1+0 [4536629a] OpenBLAS_jll v0.3.27+1 [05823500] OpenLibm_jll v0.8.5+0 [bea87d4a] SuiteSparse_jll v7.7.0+0 [83775a58] Zlib_jll v1.2.13+1 [8e850b90] libblastrampoline_jll v5.11.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... [ Info: Testing ChanceNode [ Info: Testing DecisionNode [ Info: Testing ValueNode [ Info: Testing State [ Info: Testing paths [ Info: Testing Probabilities [ Info: Testing DefaultPathProbability [ Info: Testing Utilities [ Info: Testing DefaultPathUtility [ Info: Testing InfluenceDiagram [ Info: Testing add_node! and validate_node [ Info: Testing generate_arcs! [ Info: Testing ProbabilityMatrix [ Info: Testing UtilityMatrix [ Info: Testing generate_diagram! [ Info: Testing positive and negative path utility translations [ Info: Testing model construction ┌ Warning: Assignment to `diagram` in soft scope is ambiguous because a global variable by the same name exists: `diagram` will be treated as a new local. Disambiguate by using `local diagram` to suppress this warning or `global diagram` to assign to the existing global variable. └ @ ~/.julia/packages/DecisionProgramming/Oo4jd/test/decision_model.jl:177 [ Info: Testing DecisionVariables (DP) [ Info: Testing PathCompatibilityVariables [ Info: Testing probability_cut [ Info: Testing expected_value (DP) [ Info: Testing conditional_value_at_risk (DP) [ Info: Creating random decision strategy [ Info: Testing CompatiblePaths [ Info: Testing UtilityDistribution [ Info: Testing StateProbabilities [ Info: Testing conditional StateProbabilities [ Info: Testing printing functions ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 2 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 3 │ │ 2 │ 1 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 1 │ │ 2, 1 │ 1 │ │ 3, 1 │ 1 │ │ 4, 1 │ 2 │ │ 1, 2 │ 2 │ │ 2, 2 │ 1 │ │ 3, 2 │ 1 │ │ 4, 2 │ 2 │ │ 1, 3 │ 2 │ │ 2, 3 │ 2 │ │ 3, 3 │ 1 │ │ 4, 3 │ 1 │ └────────────────────┴────────────────┘ ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 2 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 3 │ │ 2 │ 1 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 1 │ │ 2, 1 │ 1 │ │ 3, 1 │ 1 │ │ 4, 1 │ 2 │ │ 1, 2 │ 2 │ │ 2, 2 │ 1 │ │ 3, 2 │ 1 │ │ 4, 2 │ 2 │ │ 1, 3 │ 2 │ │ 2, 3 │ 2 │ │ 3, 3 │ 1 │ │ 4, 3 │ 1 │ └────────────────────┴────────────────┘ ┌──────────┬─────────────┐ │ Utility │ Probability │ │ Float64 │ Float64 │ ├──────────┼─────────────┤ │ 0.000000 │ 0.750000 │ │ 1.000000 │ 0.250000 │ └──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 0.500000 │ 0.500000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 0.000000 │ 1.000000 │ │ │ D3 │ 0.583333 │ 0.416667 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.500000 │ 0.000000 │ 0.500000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 1.000000 │ 0.000000 │ 1 │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 0.000000 │ 1.000000 │ │ │ D3 │ 0.583333 │ 0.416667 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.000000 │ 0.000000 │ 1.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌──────────┬────────────┐ │ Name │ Statistics │ │ String │ Float64 │ ├──────────┼────────────┤ │ Mean │ 0.250000 │ │ Std │ 0.433013 │ │ Skewness │ 1.154701 │ │ Kurtosis │ -0.666667 │ └──────────┴────────────┘ ┌──────────┬──────────┬──────────┐ │ α │ VaR │ CVaR │ │ Float64 │ Float64 │ Float64 │ ├──────────┼──────────┼──────────┤ │ 0.000000 │ 0.000000 │ 0.000000 │ │ 0.050000 │ 0.000000 │ 0.000000 │ │ 0.100000 │ 0.000000 │ 0.000000 │ │ 0.200000 │ 0.000000 │ 0.000000 │ │ 1.000000 │ 1.000000 │ 0.250000 │ └──────────┴──────────┴──────────┘ [ Info: Testing DecisionVariables (DP) [ Info: Testing PathCompatibilityVariables [ Info: Testing probability_cut [ Info: Testing expected_value (DP) [ Info: Testing conditional_value_at_risk (DP) [ Info: Creating random decision strategy [ Info: Testing CompatiblePaths [ Info: Testing UtilityDistribution [ Info: Testing StateProbabilities [ Info: Testing conditional StateProbabilities [ Info: Testing printing functions ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 1 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 3 │ │ 2 │ 3 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 1 │ │ 2, 1 │ 2 │ │ 3, 1 │ 2 │ │ 4, 1 │ 1 │ │ 1, 2 │ 1 │ │ 2, 2 │ 1 │ │ 3, 2 │ 2 │ │ 4, 2 │ 2 │ │ 1, 3 │ 1 │ │ 2, 3 │ 2 │ │ 3, 3 │ 1 │ │ 4, 3 │ 1 │ └────────────────────┴────────────────┘ ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 1 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 3 │ │ 2 │ 3 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 1 │ │ 2, 1 │ 2 │ │ 3, 1 │ 2 │ │ 4, 1 │ 1 │ │ 1, 2 │ 1 │ │ 2, 2 │ 1 │ │ 3, 2 │ 2 │ │ 4, 2 │ 2 │ │ 1, 3 │ 1 │ │ 2, 3 │ 2 │ │ 3, 3 │ 1 │ │ 4, 3 │ 1 │ └────────────────────┴────────────────┘ ┌──────────┬─────────────┐ │ Utility │ Probability │ │ Float64 │ Float64 │ ├──────────┼─────────────┤ │ 0.000000 │ 1.000000 │ └──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 0.500000 │ 0.500000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 1.000000 │ 0.000000 │ │ │ D3 │ 0.583333 │ 0.416667 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.000000 │ 0.000000 │ 1.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 1.000000 │ 0.000000 │ 1 │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 1.000000 │ 0.000000 │ │ │ D3 │ 0.583333 │ 0.416667 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.000000 │ 0.000000 │ 1.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌──────────┬────────────┐ │ Name │ Statistics │ │ String │ Float64 │ ├──────────┼────────────┤ │ Mean │ 0.000000 │ │ Std │ 0.000000 │ │ Skewness │ NaN │ │ Kurtosis │ NaN │ └──────────┴────────────┘ ┌──────────┬──────────┬──────────┐ │ α │ VaR │ CVaR │ │ Float64 │ Float64 │ Float64 │ ├──────────┼──────────┼──────────┤ │ 0.000000 │ 0.000000 │ 0.000000 │ │ 0.050000 │ 0.000000 │ 0.000000 │ │ 0.100000 │ 0.000000 │ 0.000000 │ │ 0.200000 │ 0.000000 │ 0.000000 │ │ 1.000000 │ 0.000000 │ 0.000000 │ └──────────┴──────────┴──────────┘ [ Info: Testing DecisionVariables (DP) [ Info: Testing PathCompatibilityVariables [ Info: Testing probability_cut [ Info: Testing expected_value (DP) [ Info: Testing conditional_value_at_risk (DP) [ Info: Creating random decision strategy [ Info: Testing CompatiblePaths [ Info: Testing UtilityDistribution [ Info: Testing StateProbabilities [ Info: Testing conditional StateProbabilities [ Info: Testing printing functions ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 2 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 3 │ │ 2 │ 3 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 2 │ │ 2, 1 │ 2 │ │ 3, 1 │ 1 │ │ 4, 1 │ 2 │ │ 1, 2 │ 2 │ │ 2, 2 │ 2 │ │ 3, 2 │ 2 │ │ 4, 2 │ 2 │ │ 1, 3 │ 1 │ │ 2, 3 │ 1 │ │ 3, 3 │ 1 │ │ 4, 3 │ 2 │ └────────────────────┴────────────────┘ ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 2 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 3 │ │ 2 │ 3 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 2 │ │ 2, 1 │ 2 │ │ 3, 1 │ 1 │ │ 4, 1 │ 2 │ │ 1, 2 │ 2 │ │ 2, 2 │ 2 │ │ 3, 2 │ 2 │ │ 4, 2 │ 2 │ │ 1, 3 │ 1 │ │ 2, 3 │ 1 │ │ 3, 3 │ 1 │ │ 4, 3 │ 2 │ └────────────────────┴────────────────┘ ┌──────────┬─────────────┐ │ Utility │ Probability │ │ Float64 │ Float64 │ ├──────────┼─────────────┤ │ 0.000000 │ 1.000000 │ └──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 0.500000 │ 0.500000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 0.000000 │ 1.000000 │ │ │ D3 │ 0.333333 │ 0.666667 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.000000 │ 0.000000 │ 1.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 1.000000 │ 0.000000 │ 1 │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 0.000000 │ 1.000000 │ │ │ D3 │ 0.333333 │ 0.666667 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.000000 │ 0.000000 │ 1.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌──────────┬────────────┐ │ Name │ Statistics │ │ String │ Float64 │ ├──────────┼────────────┤ │ Mean │ 0.000000 │ │ Std │ 0.000000 │ │ Skewness │ NaN │ │ Kurtosis │ NaN │ └──────────┴────────────┘ ┌──────────┬──────────┬──────────┐ │ α │ VaR │ CVaR │ │ Float64 │ Float64 │ Float64 │ ├──────────┼──────────┼──────────┤ │ 0.000000 │ 0.000000 │ 0.000000 │ │ 0.050000 │ 0.000000 │ 0.000000 │ │ 0.100000 │ 0.000000 │ 0.000000 │ │ 0.200000 │ 0.000000 │ 0.000000 │ │ 1.000000 │ 0.000000 │ 0.000000 │ └──────────┴──────────┴──────────┘ [ Info: Testing DecisionVariables (DP) [ Info: Testing PathCompatibilityVariables [ Info: Testing probability_cut [ Info: Testing expected_value (DP) [ Info: Testing conditional_value_at_risk (DP) [ Info: Creating random decision strategy [ Info: Testing CompatiblePaths [ Info: Testing UtilityDistribution [ Info: Testing StateProbabilities [ Info: Testing conditional StateProbabilities [ Info: Testing printing functions ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 1 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 2 │ │ 2 │ 2 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 1 │ │ 2, 1 │ 1 │ │ 3, 1 │ 2 │ │ 4, 1 │ 1 │ │ 1, 2 │ 1 │ │ 2, 2 │ 1 │ │ 3, 2 │ 2 │ │ 4, 2 │ 1 │ │ 1, 3 │ 1 │ │ 2, 3 │ 2 │ │ 3, 3 │ 2 │ │ 4, 3 │ 2 │ └────────────────────┴────────────────┘ ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 1 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 2 │ │ 2 │ 2 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 1 │ │ 2, 1 │ 1 │ │ 3, 1 │ 2 │ │ 4, 1 │ 1 │ │ 1, 2 │ 1 │ │ 2, 2 │ 1 │ │ 3, 2 │ 2 │ │ 4, 2 │ 1 │ │ 1, 3 │ 1 │ │ 2, 3 │ 2 │ │ 3, 3 │ 2 │ │ 4, 3 │ 2 │ └────────────────────┴────────────────┘ ┌──────────┬─────────────┐ │ Utility │ Probability │ │ Float64 │ Float64 │ ├──────────┼─────────────┤ │ 0.000000 │ 1.000000 │ └──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 0.500000 │ 0.500000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 1.000000 │ 0.000000 │ │ │ D3 │ 0.583333 │ 0.416667 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.000000 │ 1.000000 │ 0.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 1.000000 │ 0.000000 │ 1 │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 1.000000 │ 0.000000 │ │ │ D3 │ 0.583333 │ 0.416667 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.000000 │ 1.000000 │ 0.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌──────────┬────────────┐ │ Name │ Statistics │ │ String │ Float64 │ ├──────────┼────────────┤ │ Mean │ 0.000000 │ │ Std │ 0.000000 │ │ Skewness │ NaN │ │ Kurtosis │ NaN │ └──────────┴────────────┘ ┌──────────┬──────────┬──────────┐ │ α │ VaR │ CVaR │ │ Float64 │ Float64 │ Float64 │ ├──────────┼──────────┼──────────┤ │ 0.000000 │ 0.000000 │ 0.000000 │ │ 0.050000 │ 0.000000 │ 0.000000 │ │ 0.100000 │ 0.000000 │ 0.000000 │ │ 0.200000 │ 0.000000 │ 0.000000 │ │ 1.000000 │ 0.000000 │ 0.000000 │ └──────────┴──────────┴──────────┘ [ Info: Testing DecisionVariables (DP) [ Info: Testing PathCompatibilityVariables [ Info: Testing probability_cut [ Info: Testing expected_value (DP) [ Info: Testing conditional_value_at_risk (DP) [ Info: Creating random decision strategy [ Info: Testing CompatiblePaths [ Info: Testing UtilityDistribution [ Info: Testing StateProbabilities [ Info: Testing conditional StateProbabilities [ Info: Testing printing functions ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 2 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 3 │ │ 2 │ 3 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 1 │ │ 2, 1 │ 2 │ │ 3, 1 │ 2 │ │ 4, 1 │ 1 │ │ 1, 2 │ 2 │ │ 2, 2 │ 1 │ │ 3, 2 │ 1 │ │ 4, 2 │ 1 │ │ 1, 3 │ 2 │ │ 2, 3 │ 1 │ │ 3, 3 │ 2 │ │ 4, 3 │ 2 │ └────────────────────┴────────────────┘ ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 2 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 3 │ │ 2 │ 3 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 1 │ │ 2, 1 │ 2 │ │ 3, 1 │ 2 │ │ 4, 1 │ 1 │ │ 1, 2 │ 2 │ │ 2, 2 │ 1 │ │ 3, 2 │ 1 │ │ 4, 2 │ 1 │ │ 1, 3 │ 2 │ │ 2, 3 │ 1 │ │ 3, 3 │ 2 │ │ 4, 3 │ 2 │ └────────────────────┴────────────────┘ ┌──────────┬─────────────┐ │ Utility │ Probability │ │ Float64 │ Float64 │ ├──────────┼─────────────┤ │ 0.000000 │ 1.000000 │ └──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 0.500000 │ 0.500000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 0.000000 │ 1.000000 │ │ │ D3 │ 0.500000 │ 0.500000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.000000 │ 0.000000 │ 1.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 1.000000 │ 0.000000 │ 1 │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 0.000000 │ 1.000000 │ │ │ D3 │ 0.500000 │ 0.500000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.000000 │ 0.000000 │ 1.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌──────────┬────────────┐ │ Name │ Statistics │ │ String │ Float64 │ ├──────────┼────────────┤ │ Mean │ 0.000000 │ │ Std │ 0.000000 │ │ Skewness │ NaN │ │ Kurtosis │ NaN │ └──────────┴────────────┘ ┌──────────┬──────────┬──────────┐ │ α │ VaR │ CVaR │ │ Float64 │ Float64 │ Float64 │ ├──────────┼──────────┼──────────┤ │ 0.000000 │ 0.000000 │ 0.000000 │ │ 0.050000 │ 0.000000 │ 0.000000 │ │ 0.100000 │ 0.000000 │ 0.000000 │ │ 0.200000 │ 0.000000 │ 0.000000 │ │ 1.000000 │ 0.000000 │ 0.000000 │ └──────────┴──────────┴──────────┘ ┌ Warning: Assignment to `diagram` in soft scope is ambiguous because a global variable by the same name exists: `diagram` will be treated as a new local. Disambiguate by using `local diagram` to suppress this warning or `global diagram` to assign to the existing global variable. └ @ ~/.julia/packages/DecisionProgramming/Oo4jd/test/decision_model.jl:186 [ Info: Testing DecisionVariables (RJT) [ Info: Testing RJTVariables [ Info: Testing expected_value (RJT) [ Info: Testing conditional_value_at_risk (RJT) [ Info: Creating random decision strategy [ Info: Testing CompatiblePaths [ Info: Testing UtilityDistribution [ Info: Testing StateProbabilities [ Info: Testing conditional StateProbabilities [ Info: Testing printing functions ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 2 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 2 │ │ 2 │ 1 │ └────────────────┴────────────────┘ ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 2 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 2 │ │ 2 │ 1 │ └────────────────┴────────────────┘ ┌──────────┬─────────────┐ │ Utility │ Probability │ │ Float64 │ Float64 │ ├──────────┼─────────────┤ │ 0.000000 │ 0.750000 │ │ 1.000000 │ 0.250000 │ └──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 0.500000 │ 0.500000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 0.000000 │ 1.000000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.500000 │ 0.500000 │ 0.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 1.000000 │ 0.000000 │ 1 │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 0.000000 │ 1.000000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.000000 │ 1.000000 │ 0.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌──────────┬────────────┐ │ Name │ Statistics │ │ String │ Float64 │ ├──────────┼────────────┤ │ Mean │ 0.250000 │ │ Std │ 0.433013 │ │ Skewness │ 1.154701 │ │ Kurtosis │ -0.666667 │ └──────────┴────────────┘ ┌──────────┬──────────┬──────────┐ │ α │ VaR │ CVaR │ │ Float64 │ Float64 │ Float64 │ ├──────────┼──────────┼──────────┤ │ 0.000000 │ 0.000000 │ 0.000000 │ │ 0.050000 │ 0.000000 │ 0.000000 │ │ 0.100000 │ 0.000000 │ 0.000000 │ │ 0.200000 │ 0.000000 │ 0.000000 │ │ 1.000000 │ 1.000000 │ 0.250000 │ └──────────┴──────────┴──────────┘ [ Info: Testing DecisionVariables (RJT) [ Info: Testing RJTVariables [ Info: Testing expected_value (RJT) [ Info: Testing conditional_value_at_risk (RJT) [ Info: Creating random decision strategy [ Info: Testing CompatiblePaths [ Info: Testing UtilityDistribution [ Info: Testing StateProbabilities [ Info: Testing conditional StateProbabilities [ Info: Testing printing functions ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 2 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 2 │ │ 2 │ 3 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 1 │ │ 2, 1 │ 1 │ │ 3, 1 │ 1 │ │ 4, 1 │ 2 │ │ 1, 2 │ 2 │ │ 2, 2 │ 2 │ │ 3, 2 │ 2 │ │ 4, 2 │ 2 │ │ 1, 3 │ 1 │ │ 2, 3 │ 1 │ │ 3, 3 │ 1 │ │ 4, 3 │ 1 │ └────────────────────┴────────────────┘ ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 2 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 2 │ │ 2 │ 3 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 1 │ │ 2, 1 │ 1 │ │ 3, 1 │ 1 │ │ 4, 1 │ 2 │ │ 1, 2 │ 2 │ │ 2, 2 │ 2 │ │ 3, 2 │ 2 │ │ 4, 2 │ 2 │ │ 1, 3 │ 1 │ │ 2, 3 │ 1 │ │ 3, 3 │ 1 │ │ 4, 3 │ 1 │ └────────────────────┴────────────────┘ ┌──────────┬─────────────┐ │ Utility │ Probability │ │ Float64 │ Float64 │ ├──────────┼─────────────┤ │ 0.000000 │ 1.000000 │ └──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 0.500000 │ 0.500000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 0.000000 │ 1.000000 │ │ │ D3 │ 0.583333 │ 0.416667 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.000000 │ 0.500000 │ 0.500000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 1.000000 │ 0.000000 │ 1 │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 0.000000 │ 1.000000 │ │ │ D3 │ 0.583333 │ 0.416667 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.000000 │ 1.000000 │ 0.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌──────────┬────────────┐ │ Name │ Statistics │ │ String │ Float64 │ ├──────────┼────────────┤ │ Mean │ 0.000000 │ │ Std │ 0.000000 │ │ Skewness │ NaN │ │ Kurtosis │ NaN │ └──────────┴────────────┘ ┌──────────┬──────────┬──────────┐ │ α │ VaR │ CVaR │ │ Float64 │ Float64 │ Float64 │ ├──────────┼──────────┼──────────┤ │ 0.000000 │ 0.000000 │ 0.000000 │ │ 0.050000 │ 0.000000 │ 0.000000 │ │ 0.100000 │ 0.000000 │ 0.000000 │ │ 0.200000 │ 0.000000 │ 0.000000 │ │ 1.000000 │ 0.000000 │ 0.000000 │ └──────────┴──────────┴──────────┘ ┌ Warning: Assignment to `diagram` in soft scope is ambiguous because a global variable by the same name exists: `diagram` will be treated as a new local. Disambiguate by using `local diagram` to suppress this warning or `global diagram` to assign to the existing global variable. └ @ ~/.julia/packages/DecisionProgramming/Oo4jd/test/decision_model.jl:198 [ Info: Creating random decision strategy [ Info: Testing CompatiblePaths [ Info: Testing UtilityDistribution [ Info: Testing StateProbabilities [ Info: Testing conditional StateProbabilities [ Info: Testing printing functions ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 1 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 2 │ │ 2 │ 2 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 2 │ │ 2, 1 │ 2 │ │ 3, 1 │ 2 │ │ 4, 1 │ 1 │ │ 1, 2 │ 2 │ │ 2, 2 │ 1 │ │ 3, 2 │ 2 │ │ 4, 2 │ 1 │ │ 1, 3 │ 2 │ │ 2, 3 │ 2 │ │ 3, 3 │ 2 │ │ 4, 3 │ 2 │ └────────────────────┴────────────────┘ ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 1 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 2 │ │ 2 │ 2 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 2 │ │ 2, 1 │ 2 │ │ 3, 1 │ 2 │ │ 4, 1 │ 1 │ │ 1, 2 │ 2 │ │ 2, 2 │ 1 │ │ 3, 2 │ 2 │ │ 4, 2 │ 1 │ │ 1, 3 │ 2 │ │ 2, 3 │ 2 │ │ 3, 3 │ 2 │ │ 4, 3 │ 2 │ └────────────────────┴────────────────┘ ┌──────────┬─────────────┐ │ Utility │ Probability │ │ Float64 │ Float64 │ ├──────────┼─────────────┤ │ 0.000000 │ 1.000000 │ └──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 0.500000 │ 0.500000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 1.000000 │ 0.000000 │ │ │ D3 │ 0.250000 │ 0.750000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.000000 │ 1.000000 │ 0.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 1.000000 │ 0.000000 │ 1 │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 1.000000 │ 0.000000 │ │ │ D3 │ 0.250000 │ 0.750000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.000000 │ 1.000000 │ 0.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌──────────┬────────────┐ │ Name │ Statistics │ │ String │ Float64 │ ├──────────┼────────────┤ │ Mean │ 0.000000 │ │ Std │ 0.000000 │ │ Skewness │ NaN │ │ Kurtosis │ NaN │ └──────────┴────────────┘ ┌──────────┬──────────┬──────────┐ │ α │ VaR │ CVaR │ │ Float64 │ Float64 │ Float64 │ ├──────────┼──────────┼──────────┤ │ 0.000000 │ 0.000000 │ 0.000000 │ │ 0.050000 │ 0.000000 │ 0.000000 │ │ 0.100000 │ 0.000000 │ 0.000000 │ │ 0.200000 │ 0.000000 │ 0.000000 │ │ 1.000000 │ 0.000000 │ 0.000000 │ └──────────┴──────────┴──────────┘ [ Info: Creating random decision strategy [ Info: Testing CompatiblePaths [ Info: Testing UtilityDistribution [ Info: Testing StateProbabilities [ Info: Testing conditional StateProbabilities [ Info: Testing printing functions ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 1 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 2 │ │ 2 │ 1 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 2 │ │ 2, 1 │ 1 │ │ 3, 1 │ 1 │ │ 4, 1 │ 2 │ │ 1, 2 │ 1 │ │ 2, 2 │ 1 │ │ 3, 2 │ 1 │ │ 4, 2 │ 2 │ │ 1, 3 │ 2 │ │ 2, 3 │ 2 │ │ 3, 3 │ 2 │ │ 4, 3 │ 2 │ └────────────────────┴────────────────┘ ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 1 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 2 │ │ 2 │ 1 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 2 │ │ 2, 1 │ 1 │ │ 3, 1 │ 1 │ │ 4, 1 │ 2 │ │ 1, 2 │ 1 │ │ 2, 2 │ 1 │ │ 3, 2 │ 1 │ │ 4, 2 │ 2 │ │ 1, 3 │ 2 │ │ 2, 3 │ 2 │ │ 3, 3 │ 2 │ │ 4, 3 │ 2 │ └────────────────────┴────────────────┘ ┌──────────┬─────────────┐ │ Utility │ Probability │ │ Float64 │ Float64 │ ├──────────┼─────────────┤ │ 0.000000 │ 0.750000 │ │ 1.000000 │ 0.250000 │ └──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 0.500000 │ 0.500000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 1.000000 │ 0.000000 │ │ │ D3 │ 0.416667 │ 0.583333 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.500000 │ 0.500000 │ 0.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 1.000000 │ 0.000000 │ 1 │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 1.000000 │ 0.000000 │ │ │ D3 │ 0.416667 │ 0.583333 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.000000 │ 1.000000 │ 0.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌──────────┬────────────┐ │ Name │ Statistics │ │ String │ Float64 │ ├──────────┼────────────┤ │ Mean │ 0.250000 │ │ Std │ 0.433013 │ │ Skewness │ 1.154701 │ │ Kurtosis │ -0.666667 │ └──────────┴────────────┘ ┌──────────┬──────────┬──────────┐ │ α │ VaR │ CVaR │ │ Float64 │ Float64 │ Float64 │ ├──────────┼──────────┼──────────┤ │ 0.000000 │ 0.000000 │ 0.000000 │ │ 0.050000 │ 0.000000 │ 0.000000 │ │ 0.100000 │ 0.000000 │ 0.000000 │ │ 0.200000 │ 0.000000 │ 0.000000 │ │ 1.000000 │ 1.000000 │ 0.250000 │ └──────────┴──────────┴──────────┘ [ Info: Creating random decision strategy [ Info: Testing CompatiblePaths [ Info: Testing UtilityDistribution [ Info: Testing StateProbabilities [ Info: Testing conditional StateProbabilities [ Info: Testing printing functions ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 1 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 2 │ │ 2 │ 1 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 2 │ │ 2, 1 │ 1 │ │ 3, 1 │ 2 │ │ 4, 1 │ 1 │ │ 1, 2 │ 2 │ │ 2, 2 │ 1 │ │ 3, 2 │ 2 │ │ 4, 2 │ 1 │ │ 1, 3 │ 1 │ │ 2, 3 │ 1 │ │ 3, 3 │ 2 │ │ 4, 3 │ 2 │ └────────────────────┴────────────────┘ ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 1 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 2 │ │ 2 │ 1 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 2 │ │ 2, 1 │ 1 │ │ 3, 1 │ 2 │ │ 4, 1 │ 1 │ │ 1, 2 │ 2 │ │ 2, 2 │ 1 │ │ 3, 2 │ 2 │ │ 4, 2 │ 1 │ │ 1, 3 │ 1 │ │ 2, 3 │ 1 │ │ 3, 3 │ 2 │ │ 4, 3 │ 2 │ └────────────────────┴────────────────┘ ┌──────────┬─────────────┐ │ Utility │ Probability │ │ Float64 │ Float64 │ ├──────────┼─────────────┤ │ 0.000000 │ 0.750000 │ │ 1.000000 │ 0.250000 │ └──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 0.500000 │ 0.500000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 1.000000 │ 0.000000 │ │ │ D3 │ 0.500000 │ 0.500000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.500000 │ 0.500000 │ 0.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 1.000000 │ 0.000000 │ 1 │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 1.000000 │ 0.000000 │ │ │ D3 │ 0.500000 │ 0.500000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.000000 │ 1.000000 │ 0.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌──────────┬────────────┐ │ Name │ Statistics │ │ String │ Float64 │ ├──────────┼────────────┤ │ Mean │ 0.250000 │ │ Std │ 0.433013 │ │ Skewness │ 1.154701 │ │ Kurtosis │ -0.666667 │ └──────────┴────────────┘ ┌──────────┬──────────┬──────────┐ │ α │ VaR │ CVaR │ │ Float64 │ Float64 │ Float64 │ ├──────────┼──────────┼──────────┤ │ 0.000000 │ 0.000000 │ 0.000000 │ │ 0.050000 │ 0.000000 │ 0.000000 │ │ 0.100000 │ 0.000000 │ 0.000000 │ │ 0.200000 │ 0.000000 │ 0.000000 │ │ 1.000000 │ 1.000000 │ 0.250000 │ └──────────┴──────────┴──────────┘ [ Info: Creating random decision strategy [ Info: Testing CompatiblePaths [ Info: Testing UtilityDistribution [ Info: Testing StateProbabilities [ Info: Testing conditional StateProbabilities [ Info: Testing printing functions ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 2 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 1 │ │ 2 │ 1 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 1 │ │ 2, 1 │ 2 │ │ 3, 1 │ 1 │ │ 4, 1 │ 1 │ │ 1, 2 │ 2 │ │ 2, 2 │ 1 │ │ 3, 2 │ 1 │ │ 4, 2 │ 2 │ │ 1, 3 │ 2 │ │ 2, 3 │ 2 │ │ 3, 3 │ 1 │ │ 4, 3 │ 2 │ └────────────────────┴────────────────┘ ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 2 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 1 │ │ 2 │ 1 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 1 │ │ 2, 1 │ 2 │ │ 3, 1 │ 1 │ │ 4, 1 │ 1 │ │ 1, 2 │ 2 │ │ 2, 2 │ 1 │ │ 3, 2 │ 1 │ │ 4, 2 │ 2 │ │ 1, 3 │ 2 │ │ 2, 3 │ 2 │ │ 3, 3 │ 1 │ │ 4, 3 │ 2 │ └────────────────────┴────────────────┘ ┌──────────┬─────────────┐ │ Utility │ Probability │ │ Float64 │ Float64 │ ├──────────┼─────────────┤ │ 0.000000 │ 0.500000 │ │ 1.000000 │ 0.500000 │ └──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 0.500000 │ 0.500000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 0.000000 │ 1.000000 │ │ │ D3 │ 0.500000 │ 0.500000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 1.000000 │ 0.000000 │ 0.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 1.000000 │ 0.000000 │ 1 │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 0.000000 │ 1.000000 │ │ │ D3 │ 0.500000 │ 0.500000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 1.000000 │ 0.000000 │ 0.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌──────────┬────────────┐ │ Name │ Statistics │ │ String │ Float64 │ ├──────────┼────────────┤ │ Mean │ 0.500000 │ │ Std │ 0.500000 │ │ Skewness │ 0.000000 │ │ Kurtosis │ -2.000000 │ └──────────┴────────────┘ ┌──────────┬──────────┬──────────┐ │ α │ VaR │ CVaR │ │ Float64 │ Float64 │ Float64 │ ├──────────┼──────────┼──────────┤ │ 0.000000 │ 0.000000 │ 0.000000 │ │ 0.050000 │ 0.000000 │ 0.000000 │ │ 0.100000 │ 0.000000 │ 0.000000 │ │ 0.200000 │ 0.000000 │ 0.000000 │ │ 1.000000 │ 1.000000 │ 0.500000 │ └──────────┴──────────┴──────────┘ [ Info: Creating random decision strategy [ Info: Testing CompatiblePaths [ Info: Testing UtilityDistribution [ Info: Testing StateProbabilities [ Info: Testing conditional StateProbabilities [ Info: Testing printing functions ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 2 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 2 │ │ 2 │ 3 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 1 │ │ 2, 1 │ 1 │ │ 3, 1 │ 2 │ │ 4, 1 │ 1 │ │ 1, 2 │ 2 │ │ 2, 2 │ 2 │ │ 3, 2 │ 2 │ │ 4, 2 │ 1 │ │ 1, 3 │ 1 │ │ 2, 3 │ 1 │ │ 3, 3 │ 2 │ │ 4, 3 │ 1 │ └────────────────────┴────────────────┘ ┌────────────────┐ │ Decision in D1 │ ├────────────────┤ │ 2 │ └────────────────┘ ┌────────────────┬────────────────┐ │ State(s) of H1 │ Decision in D2 │ ├────────────────┼────────────────┤ │ 1 │ 2 │ │ 2 │ 3 │ └────────────────┴────────────────┘ ┌────────────────────┬────────────────┐ │ State(s) of H2, H3 │ Decision in D3 │ ├────────────────────┼────────────────┤ │ 1, 1 │ 1 │ │ 2, 1 │ 1 │ │ 3, 1 │ 2 │ │ 4, 1 │ 1 │ │ 1, 2 │ 2 │ │ 2, 2 │ 2 │ │ 3, 2 │ 2 │ │ 4, 2 │ 1 │ │ 1, 3 │ 1 │ │ 2, 3 │ 1 │ │ 3, 3 │ 2 │ │ 4, 3 │ 1 │ └────────────────────┴────────────────┘ ┌──────────┬─────────────┐ │ Utility │ Probability │ │ Float64 │ Float64 │ ├──────────┼─────────────┤ │ 0.000000 │ 1.000000 │ └──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 0.500000 │ 0.500000 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 0.000000 │ 1.000000 │ │ │ D3 │ 0.583333 │ 0.416667 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.000000 │ 0.500000 │ 0.500000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ H1 │ 1.000000 │ 0.000000 │ 1 │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ 4 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼──────────┼─────────────┤ │ H2 │ 0.250000 │ 0.250000 │ 0.250000 │ 0.250000 │ │ └────────┴──────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ H3 │ 0.333333 │ 0.333333 │ 0.333333 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ Fixed state │ │ String │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼─────────────┤ │ D1 │ 0.000000 │ 1.000000 │ │ │ D3 │ 0.583333 │ 0.416667 │ │ └────────┴──────────┴──────────┴─────────────┘ ┌────────┬──────────┬──────────┬──────────┬─────────────┐ │ Node │ 1 │ 2 │ 3 │ Fixed state │ │ String │ Float64 │ Float64 │ Float64 │ String │ ├────────┼──────────┼──────────┼──────────┼─────────────┤ │ D2 │ 0.000000 │ 1.000000 │ 0.000000 │ │ └────────┴──────────┴──────────┴──────────┴─────────────┘ ┌──────────┬────────────┐ │ Name │ Statistics │ │ String │ Float64 │ ├──────────┼────────────┤ │ Mean │ 0.000000 │ │ Std │ 0.000000 │ │ Skewness │ NaN │ │ Kurtosis │ NaN │ └──────────┴────────────┘ ┌──────────┬──────────┬──────────┐ │ α │ VaR │ CVaR │ │ Float64 │ Float64 │ Float64 │ ├──────────┼──────────┼──────────┤ │ 0.000000 │ 0.000000 │ 0.000000 │ │ 0.050000 │ 0.000000 │ 0.000000 │ │ 0.100000 │ 0.000000 │ 0.000000 │ │ 0.200000 │ 0.000000 │ 0.000000 │ │ 1.000000 │ 0.000000 │ 0.000000 │ └──────────┴──────────┴──────────┘ [ Info: Creating a pig farm problem with 3 decision stages [ Info: Creating the influence diagram. [ Info: Creating the decision model. [ Info: Single policy update found solution 726.8121000000009 in 1.842266383 seconds. Test Summary: | Pass Total Time model.jl | 150 150 2m25.6s Testing DecisionProgramming tests passed Testing completed after 151.43s PkgEval succeeded after 218.38s