marota / Oracle4Grid

Documentation at https://oracle4grid.readthedocs.io/en/latest/
Mozilla Public License 2.0
3 stars 1 forks source link

Bad no_overload_path return when there is no end to end path between init and end nodes #25

Closed marota closed 3 years ago

marota commented 3 years ago

if at some timestep, every configuration is overloaded, there will be no path from 'init' to 'end' without any overload. In that case the currently returned best_no_overload_path is wrong, and sometime don't even deal integrate 'init' or 'end' node

marota commented 3 years ago

Done in 0e47eaccb574ae5e3b171fbfaeed97ddc256626b We should have a test for that case

marota commented 3 years ago

Cas Test: ne jouer qu'un action, comme le do-nothing et observer une surcharge à un moment

NMegel commented 3 years ago

Test implemented in commit abd087716f4c3709a3df8eb1fedc665d190c86e7

Added also some correction when overloads are on every timesteps