The generalised mathematical model is following
Decision variables: Xi be binary variable such that Xi = 1 indicates the some order be placed on supplier i
Yi be the Number of boxes ordered from supplier i
Objective: Min , where Si the setup cost and Vi is the variable cost (per 100 boxes) of supplier i
Constraints:
Qi * Xi - Yi >= 0 , where Qi is the max quantity that supplier i can supply (this constraint is to ensure that Yi < Qi and when Yi >0 , then Xi = 1 )
SUM(Yi) = 20000 (this constraint represents that total quantity ordered from all the suppliers should equal 20000 boxes)
Xi {0,1}
Yi >= 0
A manufacturer of baby cereals is test marketing a new product next month and requires 20,000...