qhho / CGCP.jl

1 stars 0 forks source link

Race Condition #2

Closed WhiffleFish closed 1 year ago

WhiffleFish commented 1 year ago

https://github.com/qhho/CGCP.jl/blob/49d91eb73689bfdda26acf06892d29c69a33d194/src/solver.jl#L127-L131

Possible race condition here, same as one outlined in this wikipedia example.

qhho commented 1 year ago

The original CGCP algorithm does not use monte carlo simulation to compute V and C, but instead uses a policy graph. @bkraske is currently implementing the policy graph which will replace this MC simulation.

bkraske commented 1 year ago

Addressed with 324590c