problem of structuring a transportation problem in matlab

Hi, I'm structuring all sorts of transportation problems and I came across a question that I have already asked here. For the start can you please help me with the following: I have followed the instruction given previously by Steve Lord on the same problem: https://www.mathworks.com/matlabcentral/newsreader/view_thread/68734
but still I have few questions to ask: - when I structure as " your supply and demand constraints become the rows in A or Aeq and the elements of b or beq_" → The number of columns in A must be the same as the number of elements! How to manage the gap since there is only one column in A or Aeq and n elements in f? - How to structure an objective function as well as constraints function in order that I could use optimization toolbox and choose there the solver?
Thank you in advance, kind regards Mario -

답변 (1개)

Mario Galic
Mario Galic 2017년 2월 16일

0 개 추천

Ok, I have solved the first question! Now I'm only concern with the second question: How to structure TP as an objective function doc.m as well as constraints function doc.m in order that I could use optimization toolbox and choose there the solver?

카테고리

도움말 센터File Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기

질문:

2017년 2월 14일

답변:

2017년 2월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by