Describe the bug
In investigating #815, I discovered that the shadow pricing simulation algorithm sometimes re-opens zones that were previously closed.
To Reproduce
Steps to reproduce the behavior:
- Use main branch @ff3e96b.
- Run full size prototype mtc extended model with 100% household.
- Trace hh id 1098914
- Compare
shadow_price_utility_adjustment column from trace/school_location/i*/sample/interaction_sample/alternatives-*.csv
Expected behavior
Once the shadow price simulation algorithm closes a zone, it should stay closed. Re-opening a closed zone probably doesn't completely void the results here -- in all cases I observe, it then gets closed again on the next iteration, but it probably prolongs convergence as workers or students will certainly just re-oversubscribe that zone again.
Describe the bug
In investigating #815, I discovered that the shadow pricing simulation algorithm sometimes re-opens zones that were previously closed.
To Reproduce
Steps to reproduce the behavior:
shadow_price_utility_adjustmentcolumn fromtrace/school_location/i*/sample/interaction_sample/alternatives-*.csvExpected behavior
Once the shadow price simulation algorithm closes a zone, it should stay closed. Re-opening a closed zone probably doesn't completely void the results here -- in all cases I observe, it then gets closed again on the next iteration, but it probably prolongs convergence as workers or students will certainly just re-oversubscribe that zone again.