# Duality

Author: Claire Gauthier, Trent Melsheimer, Alexa Piper, Nicholas Chung, Michael Kulbacki (SysEn 6800 Fall 2020)

Steward: TA's name, Fengqi You

## Introduction

Every linear programming optimization problem may be viewed either from the primal or the dual, this is the principal of duality. Duality develops the relationships between one linear programming problem and another related linear programming problem. For example in economics, if the primal optimization problem deals with production and consumption levels, then the dual of that problem relates to the prices of goods and services. The dual variables in this example can be referred to as shadow prices.

The shadow price of a constraint ...

## Theory, methodology, and/or algorithmic discussions

### Definition:

Primal

Maximize ${\displaystyle z=\textstyle \sum _{j=1}^{n}\displaystyle c_{j}x_{j}}$ subject to:

${\displaystyle \textstyle \sum _{j=1}^{n}\displaystyle a_{i,j}x_{j}\lneq b_{j}\qquad (i=1,2,...,m)}$

${\displaystyle x_{j}\gneq 0\qquad (j=1,2,...,n)}$

Dual

Minimize ${\displaystyle v=\textstyle \sum _{i=1}^{m}\displaystyle b_{i}y_{i}}$

subject to:

${\displaystyle \textstyle \sum _{i=1}^{m}\displaystyle a_{i,j}y_{i}\lneq c_{j}\qquad (j=1,2,...,n)}$

${\displaystyle y_{i}\gneq 0\qquad (i=1,2,...,m)}$