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

multierlang.py -> input / output alignment #46

Open
michaelmarzec opened this issue May 15, 2024 · 0 comments
Open

multierlang.py -> input / output alignment #46

michaelmarzec opened this issue May 15, 2024 · 0 comments

Comments

@michaelmarzec
Copy link

Is your feature request related to a problem? Please describe.

  • Hi Rodrigo - I am curious if there's a method to print/generate the inputs with their corresponding outputs when running the MultiErlangC.required_positions? If not, I think this could be a useful feature.

Describe the solution you'd like

  • Add to the MultiErlangC : required_positions_grid dict output a key that indicates which input values the outputs correspond to. Using the repo's example, the position_requirements output is currently:

positions_requirements: [{'raw_positions': 13, 'positions': 19, 'service_level': 0.7955947884177831, 'occupancy': 0.7692307692307693, 'waiting_probability': 0.285270453036493}, {'raw_positions': 14, 'positions': 20, 'service_level': 0.8883500191794669, 'occupancy': 0.7142857142857143, 'waiting_probability': 0.1741319335950498}, {'raw_positions': 15, 'positions': 22, 'service_level': 0.9414528428690223, 'occupancy': 0.6666666666666666, 'waiting_probability': 0.10204236700798798}]

If you update the first entry, it could look something like ...
positions_requirements: [{"transactions": 100, "aht": 3, "interval": 30, "asa": .33, "shrinkage": 0.3, 'raw_positions': 13, 'positions': 19, 'service_level': 0.7955947884177831, 'occupancy': 0.7692307692307693, 'waiting_probability': 0.285270453036493} ...

Describe alternatives you've considered

  • I have not tested any new solutoins, but I understand that it's currently a systematically ordered output. If converted to a pandas dataframe, I am considering appending columns that represent the input.

Additional context

  • N/A -> thanks for the awesome solution!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant