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 -

Answers (1)

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?

Categories

Asked:

on 14 Feb 2017

Answered:

on 16 Feb 2017

Community Treasure Hunt

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

Start Hunting!