Skip to content

Some zones sometimes reopen while using shadow pricing simulation #820

@jpn--

Description

@jpn--

Describe the bug
In investigating #815, I discovered that the shadow pricing simulation algorithm sometimes re-opens zones that were previously closed.

image

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.

Metadata

Metadata

Assignees

Labels

BugSomething isn't working/bug f

Type

No type

Projects

Status

Todo

Status

No status

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions