Hi,
I have the following objective function
F_{max}=\gamma*C + (1-\gamma)\sum_{i=1}^M\sum_{k=1}^Wd_ky_{ik} where: \gamma =(0,1) and d= [100,100,100,100].
This is an integer optimization. C (decision variable) is length of the assembly cycle in seconds. y_k (decision variable) contains the value 1 or 0 after optimization. I skipped constraints.
For example, the maximum cycle time of assembly is 10,000s. Then, I maximizing objective function.
C should be $<10,000$s. If yes, then everything is ok. If not
I change the structure of the assembly line, and then I calculate the objective function.
If y_k = 1, the operation was assigned to the assembly station. If
y_k = 0 then the operation has not been allocated to station assembly.
How to write the following function in CVX?. Exactly how to write this part of objective function \sum_{i=1}^M\sum_{k=1}^Wd_ky_{ik}
Regards,