Linear Programming in MATLAB

With Solution to Transportation Problem
Rating: 3.7 out of 5 (84 ratings)
4,530 students
English [Auto]

What is a Linear Programming model/problem
How to express LP problems by vectors and matrices
How to solve Linear Programming problems using MATLAB
How to model and solve a Transportation Problem in MATLAB


  • Basics of MATLAB Programming
  • Basics of Optimization


In this video tutorial, the general structure of a Linear Programming (LP) model is reviewed and the general matrix form of LP problems, used by MATLAB, discussed. Then, using linprog function of MATLAB, which is used to deal with linear programming problems, some examples are solved. One of the well-known problems formulated as LP model is the Transportation Problem, which is a simple two-layered supply chain model. In this video tutorial, the general form of Transportation Model is discussed and its solution using MATLAB is implemented step-by-step, with a functional approach.

Who this course is for:

  • Applied Math and Engineering students
  • Operations Research (OR) students
  • Anyone interested in mathematical optimization

Course content

3 sections7 lectures42m total length
  • What is a Linear Programming (LP) problem


Academic Education and Research Group
Yarpiz Team
  • 4.4 Instructor Rating
  • 2,667 Reviews
  • 60,368 Students
  • 9 Courses

The Yarpiz project is aimed to be a resource of academic and professional scientific source codes and tutorials, specially Computational Intelligence, Machine Learning, and Evolutionary Computation. Beside video tutorials, various source codes are available to download, via Yarpiz website.

The word Yarpiz (pronounced /jɑrpəz/) is an Azeri Turkish word, meaning Pennyroyal or Mentha Pulegium plant.

Programmer and Instructor
Mostapha Kalami Heris
  • 4.4 Instructor Rating
  • 2,667 Reviews
  • 60,375 Students
  • 9 Courses

Mostapha Kalami Heris was born in 1983, in Heris, Iran. He received B.S. from Tabriz University in 2006, M.S. from Ferdowsi University of Mashad in 2008, and PhD from Khaje Nasir Toosi University of Technology in 2013, all in Control and Systems Engineering.

Dr. Kalami is also co-founder of, executive officer of, and an instructor in FaraDars, an online education organization located in Iran. Also, he is a member of Yarpiz Team, which is provider of academic source codes and tutorials. He is mostly interested in the computer programming, machine learning, artificial intelligence, meta-heuristics and control engineering topics.