Sensitivity Analysis for LPs via Matlab
AnsweredIs it possible to retrieve sensitivity analysis results for an LP using Matlab?
Thank you in advance!
0
-
Official comment
This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support. -
Hi Greg,
Is it possible to retrieve sensitivity analysis results for an LP using Matlab?
Yes, the gurobi() function returns a struct holding various attributes. The ones you are probably looking for are \(\texttt{rc}\) and \(\texttt{pi}\). The linprog.m example shows how to access those fields.
Best regards,
Jaromił0
Post is closed for comments.
Comments
2 comments