Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle earmarked units in Policy.echelon_inventory_position() #153

Open
LarrySnyder opened this issue May 10, 2024 · 0 comments
Open

Handle earmarked units in Policy.echelon_inventory_position() #153

LarrySnyder opened this issue May 10, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@LarrySnyder
Copy link
Owner

Also check that predecessor/raw material are being handled correctly here:

if self.type in ('EBS', 'BEBS'):
# TODO: handle this case (for now, just setting pred_index and rm_index to None)
# TODO: handle exclude_earmarked_units
IP_before_demand = \
self.node.state_vars_current.echelon_inventory_position(prod_index=product_index, predecessor_index=None, rm_index=None)

@LarrySnyder LarrySnyder self-assigned this May 10, 2024
@LarrySnyder LarrySnyder added the bug Something isn't working label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant