Clear Filters
Clear Filters

linprog for three dimensional variable

2 views (last 30 days)
Umber Saleem
Umber Saleem on 9 Oct 2020
Answered: Ameer Hamza on 9 Oct 2020
hi. Can I use matlab linprog to solve a problem with three dimensional variable?
Please guide. Thanks.

Answers (1)

Ameer Hamza
Ameer Hamza on 9 Oct 2020
The dimensions of the optimization variable does not matter for linprog(). If the variable is 3D, it just means that f should have three elements, A should be x*3, and B should be x*1.

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!