Skip to main content

Sensitivity Analysis for LPs via Matlab

Answered

Comments

1 comment

  • Jaromił Najman
    • Gurobi Staff

    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

Please sign in to leave a comment.