Skip to main content

Timeline for Demand allocation to facilities

Current License: CC BY-SA 4.0

17 events
when toggle format what by license comment
Aug 7, 2021 at 21:46 history edited RobPratt CC BY-SA 4.0
edited title
Aug 6, 2021 at 22:21 history edited user4387 CC BY-SA 4.0
deleted 1088 characters in body
Aug 6, 2021 at 19:35 comment added prubin Just set $z_{ijta}=0$ for any combination of indices that you don't want to allow.
Aug 6, 2021 at 11:35 comment added user4387 However the other commodities can be utlised by all of the age groups
Aug 6, 2021 at 11:34 comment added user4387 @prubin The constraint I am referring to here is the inventory constraint, and I want that a certain commodity can only be utilised by a certain age group..
Aug 6, 2021 at 11:33 comment added user4387 @prubin, can you help me formulate the second constraint? I was able to get around the first one.
Aug 4, 2021 at 15:34 comment added prubin Rewrite the first constraint as $\sum_t \sum_j z_{ijta}+u_{ia}=D_{ia}$ where $u_{ia}\ge 0$ is a new variable capturing the unsatisfied demand in location $i$, group $a$. Add to the objective something like $\sum_i \sum_a S_a u_{ia}$, which penalizes the unsatisfied demand.
Aug 4, 2021 at 2:55 answer added Matheus Diógenes Andrade timeline score: 1
Aug 3, 2021 at 16:56 comment added user4387 Um, I am still struggling with this, can you show me how?
Aug 3, 2021 at 10:55 history undeleted user4387
Aug 3, 2021 at 8:37 history deleted user4387 via Vote
Aug 2, 2021 at 20:13 comment added prubin You can require that at least a certain percentage of the high priority demand be satisfied, or you can require that all demand in a high priority (80+) category be satisfied before any demand for a lower priority category is satisfied (might require binary variables), or you can just add penalty terms to the objective for unsatisfied demand in each category.
Aug 1, 2021 at 19:46 comment added user4387 @prubin, with social cost, or any other way, I am trying to create a situation that if there are certain locations which have population over 80 and there are certain locations with less population over 80, we would want that people who are aged 80 and over to visit the facility first, however if there isn't any 80 and over population, it should look at the next age group. Is there any right way to do this?
Aug 1, 2021 at 19:44 history edited user4387 CC BY-SA 4.0
deleted 21 characters in body
Aug 1, 2021 at 19:43 comment added user4387 Apologies @prubin, z_ijta is a variable and not binary
Aug 1, 2021 at 19:13 comment added prubin I'm afraid the first constraint makes no sense. I don't know what "as per a social cost" means, but costs would typically appear in the objective function (or as part of a budget constraint). Note that with fractional costs like 0.1 the right side of the constraint likely has a fractional component while the left side (sum of binary variables) is integer, meaning the model is likely to be infeasible as written.
Aug 1, 2021 at 16:30 history asked user4387 CC BY-SA 4.0