I am working with an optimization problem where I have a variable with 3 indices
Binary Variable: Viup <- i is for no. of tasks, u is the machine, and p is the time
Integer Variable: Xi <- the cost of each task i
I am trying to impose a constraint such that the cost to perform the task should not be more than a fixed quantity (here Budget )that the cost of each task should be calculated only once even though the task is performed by multiple machines many times.
I want to sum the values in Viup such that for each value of i the summation should not be more than 1 or could be 0, so that I can form a an equation something like
Sum of Viup * Xi <= Budget
Learning to formulate ILP equations please help