An open API service indexing awesome lists of open source software.

https://github.com/renatomaynard/gurobi-sensitivity-analysis

Linear Programming model for Production Planning with full Sensitivity Analysis, including shadow prices, reduced costs, and resource bounds.
https://github.com/renatomaynard/gurobi-sensitivity-analysis

dual-values duality gurobi gurobipy linear-programming lp mathamtical-optimization operations-research optimization reduced-cost sensitivity-analysis shadow-prices

Last synced: 3 months ago
JSON representation

Linear Programming model for Production Planning with full Sensitivity Analysis, including shadow prices, reduced costs, and resource bounds.

Awesome Lists containing this project

README

          

# Gurobi Sensitivity Analysis

This repository demonstrates how to perform **Sensitivity Analysis** in Gurobi for **Linear Programming (LP)** models. The focus is on extracting and interpreting:
- **Objective coefficient ranges** (how much you can change profit/cost coefficients before the solution changes).
- **Right-hand side (RHS) ranges** (how much you can change resource limits before the shadow price/dual value changes).
- **Dual values (Shadow prices)** for constraints.
- **Reduced costs** for decision variables.

---

## 📊 Features

- **General framework** for performing Sensitivity Analysis on any LP model.
- Prints **allowable increases and decreases** for:
- Objective function coefficients.
- RHS of constraints.
- Computes and displays **dual values (shadow prices)**.
- Computes **reduced costs** for variables.
- Fully compatible with **Gurobi** and Python.