How can I write this problem in matlab? What function should I use?
There are 4 trucks that deliver milk to 5 different customers. Each truck's daily operation cost and capacity info are in the table below. each customers demand should be met by only one truck, but one truck make delivery more than one customer. The customer's demands are 100,200,300,500, and 800 lt of milk. Show the min cost of delivery for all customers' demand in Matlab with lp model. Can you help me about this problem? I did the modelling part but I don't know how to write them in matlab. For instance I have variables like Xij and I don't know how this variable should be shown in matlab.
edit: sorry I forgot to add the table. Here's my solution and the table
<<
>>
1 Comment
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!