top of page
Writer's pictureAdisorn O.

LINEAR PROGRAMMING USING LINPROG

This example demonstrates using MATLAB's Optimization Toolbox app for linear programming.


Objective function: f = 4x + y

Design variables: x, y

Inequality constraints: x + 2y >= 6

3x + 2y >= 10

lower bound; x >= 0, y>= 1


Note that the constraint equations must be written in the form Ax + y <= b, so we factor -1 to the given inequality constraints.





5 views
bottom of page