Skip to content

Tools

What you need before the models: the theory that lets you interrogate a solution (duality, shadow prices, KKT) and the solver you build and solve the models with.

  • Theory: linear programming


    Primal-dual pair in general form, duality rules, weak and strong duality, complementary slackness, shadow prices and sensitivity analysis.

    Go to the page

  • Theory: nonlinear optimization


    Convexity, quadratic programming and the KKT conditions — the nonlinear extension of LP theory. Closes the sensitivity protocol.

    Go to the page

  • Solver: linear models


    The five steps to build a model with gurobipy, how to run it, how to read the solution, shadow prices, reduced costs and validity ranges.

    Go to the page

  • Solver: nonlinear models


    Function constraints (log, exp, powers), bilinear terms, tolerances and scaling: one solver only, with a certified global optimum.

    Go to the page