Skip to content

How to use add_dataframe with simmer.opt #16

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

Open
nguyenbm164 opened this issue Mar 18, 2023 · 1 comment
Open

How to use add_dataframe with simmer.opt #16

nguyenbm164 opened this issue Mar 18, 2023 · 1 comment

Comments

@nguyenbm164
Copy link

Hi, I am BI Engineer in Ecommerce field.

After researching a lot of packages, I found simmer, specifically it is simmer.optim can meet my expectation, but there is an issue that I don't know how to set up a data frame with predefined arrivals at a specific time, then optimize to find the number of headcounts in each time based on a schedule function and get the capacity. Please help, thank you a lot

@Enchufa2
Copy link
Member

What is specifically your question/issue here?

  • If you are looking for how add_dataframe works, the reference page is the proper place to start. Basically, it works in the same way as add_generator by default, but you specify a vector of interarrival times in the time column of a data frame. But it's also possible to input absolute times by specifying time="absolute".
  • If you are looking for usage examples, there's one in the vignettes here.

So the first step would be to have a working simulation for a given set of parameters. Then the next step is to take a look at simmer.optim's README for examples on how to optimize those parameters. Finally, if you have specific issues in your simulation/optimization, the mailing list would be the proper place to share your code so far and ask for help.

In other words, let's keep this issue tracker for issues in the package, and not usage questions, please.

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

2 participants