Robyn
Robyn copied to clipboard
Error in robyn_allocator
When executing the robyn_allocator function, this message appears, but I am not sure what it means since I have checked the data table and the format of the variables is correct.
Here's my code:
AllocatorCollect1 <- robyn_allocator( InputCollect = InputCollect, OutputCollect = OutputCollect, select_model = select_model, scenario = "max_historical_response", #simulates the scenario "what's the optimal media spend allocation given the same average spend level in history?" date_min = date_min, date_max = date_max, optim_algo="SLSQP_AUGLAG", # "SLSQP_AUGLAG" , "MMA_AUGLAG" channel_constr_low = c(0.7), channel_constr_up = c(1.25, 1.25, 1.25, 1.25, 1.25, 1.25, 1.25, 1.25, 1.25, 1.25), export = FALSE )
Environment & Robyn version
Make sure you're using the latest Robyn version before you post an issue.
- Check and share Robyn version: 3.9.0
- R version: 4.2.1
sorry for the late reply. Haven't seen this one before. Can you extend the min max dates and see if it works?
I receive the same error when extend the min max dates. I've modified 2 weeks for 5 weeks and it doesn't seem to work.
For what it's worth, I've tried to do the same execution with a model with version 3.10.3 and it works.
Please use the later version. 3.9 is very old