필터 지우기
필터 지우기

How can I write this problem in matlab? What function should I use?

조회 수: 1 (최근 30일)
ilyada
ilyada 2018년 3월 16일
편집: ilyada 2018년 3월 16일

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
Image Analyst
Image Analyst 2018년 3월 16일
Xij would probably be X(i, j) where i is the row and j is the column. Show your modeling part and table for more help. You can even attach an image you took with your mobile phone if you just have handwritten things.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by