I have a set "S" of 20 elements ---> x_i where i in {1, ..., 20}
I need to allocate each element to 5 locations ---> j in {1, ..., 5}
Define the cost of allocating element "x_i" to location "j" by:
then, I would like to minimize the total cost:
subject to the constraint that
each element x_i can be allocated to
only one location j as well as other constraints on the cost function
f_j.
I would be appreciative of a way to formalize the constraints above and tractably solve the problem via yalmip given that the cost function is differentiable and cvx. Thank you.