Problem with the "lineprog" function
Show older comments
Hello, can someone help me? i´m doing a transportation problem where I have to minimaize the cost, but at the end when I run it, it show me:
'linprog' requires Optimization Toolbox.
Error in try1 (line 19)
[xopt, fval] = linprog(lpp.f,lpp.A,lpp.b,[],[],lpp.lb);
Do someone know what to do?
I´m using the R202b version
Than you.
Answers (1)
Matt J
on 10 Dec 2020
1 vote
You must install the Optimization Toolbox.
1 Comment
Jose Emilio Loya
on 10 Dec 2020
Categories
Find more on Linear Programming and Mixed-Integer Linear Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!