1
$\begingroup$

I have devices assigned with different data plan. But based on device behaviour amount of data used by device changes during the month. I need to put the device into appropriate data plan based on predicted data usages before end of the month to avoid data overage.

There are 5MB,25MB,50MB,150MB,250MB data pool plans per device. If I put 2 devices into 25MB plan then both device can collectively use 50MB of total data among each, if there are 5 device in 25MB plan then all 5 devices collectively can use 125MB data.

My first simple approach was to based on total data usages of the device, put it into higher data plan. It was not effective because it's shared pool, and pool size varies based on how many devices are in the pool, I need to optimised the grouping of the devices into any particular data plan to optimised pool data usages. I can have any number of group/pool (Max 5 because there are 5 different data plans).

another way I tried was to cluster the device based on data usages and add them into particular group/pool, but with this cluster gets created based on how the usages data is distributed, which is not optimally close to data plan.

Anyone know how to approach this problem to put the devices in a pool to optimally use the pools data limit and not go beyond it.

$\endgroup$
2
  • 1
    $\begingroup$ It seems like an Operationnal Research question, you might have better luck on their stack exchange. $\endgroup$ Commented Mar 3, 2020 at 12:11
  • $\begingroup$ I agree with @lcrmorin, but... is there a reason it's not optimal to just drop every device in the same pool? It seems the sharing property would make that nicer, to shrink the relative variance (akin to insurance). Then the question is mostly just which size pool to use, which is mostly asking what the expected total usage is. I guess there's a large enough distance between those discrete groups that you might want to split into two pools instead to better fit to the expected usage... $\endgroup$
    – Ben Reiniger
    Commented Mar 3, 2020 at 14:56

1 Answer 1

0
$\begingroup$

Sort all devices.

Take the first x elements until their average would be over 5 MB.

Then take the next x2 devices until their average would hit 25 MB.

Straightforward with sorted data. It's not the global optimum but will get you reasonably close.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.