Solving Optimization Problems

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.

Dr.Panda

View Comments

  • 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

Recent Posts

Adaptive Re-Start Hybrid Genetic Algorithm in Matlab

Hello everyone! In this post, I am going to show you my innovative version of…

7 months ago

Test Your Understanding About Genetic Algorithm (Test 2)

Hello everyone. Let’s take a test to check your understanding about genetic algorithm, with multiple…

7 months ago

Adaptive Restart Hybrid Genetic Algorithm

Hello everyone! In this post, I am going to show you my innovative version of…

7 months ago

Adaptive Re-Start Hybrid Genetic Algorithm (Test the Performance in Case Studies)

Hello everyone. In this post, I am going to show you my innovative version of…

1 year ago

Adaptive Re-Start Hybrid Genetic Algorithm in Matlab

Hello everyone! Let’s see how my innovative version of Genetic Algorithm, called Adaptive Re-start Hybrid…

1 year ago

Crypto Quiz (Test Your Knowledge About Cryptocurrency)

Hello everyone! Let’s take a short quiz, to test your knowledge about crypto-currency, or crypto.…

2 years ago