How to Solve Linear Programming (LP) Problems Using Matlab

Hello everyone and welcome!

In this post, I’m going to show you a very simple but effective method to solve linear programming problems in Matlab. No programming skill is required. Everyone can do this within a few minutes. We are going to solve a transshipment problem as an example.

Here are the details of the testing problem.

Here are the details of the problem formulation.

Here are the details of the objective function and linear inequality constraint.

Here are the details of the linear equality constraints

And finally, here are the details of lower and upper bounds of the 10 decision variables.

Let’s see how we solve this linear programming problem.

For more videos like this, check my YouTube channel here.

P/s: If you find the post useful, share it to remember and to help other people as well.

2 Replies to “How to Solve Linear Programming (LP) Problems Using Matlab”

  1. hello mr
    can you help me understand the cuckoo search optimization algorithm i’m using it to solve container stacking proplem and i’m having i probleme with adapting it to my problem and the objective function
    thank you

Leave a Reply

Your email address will not be published. Required fields are marked *