I partially understand the primal-dual relationship, but I still can't see how two problems (primal and dual) connected together, how one problem transformated naturally into another problem such that one equation tune specific part in another equation. Help me please
Assistant
The primal-dual relationship can be intuitively explained through the concept of linear programming (LP), where problems involve optimizing (maximizing or minimizing) a linear objective function, subject to a set of linear equality and inequality constraints.
Suppose you have the following primal LP problem:
code
Maximize c^T x
subject to Ax ≤ b
x ≥ 0
where x is the vector of variables we want to optimize, c is the vector of coefficients in the objective function, A is the matrix of coefficients for the constraint equations, and b is the vector of constants in the constraint equations.
Now, consider the dual LP problem:
code
Minimize b^T y
subject to A^T y ≥ c
y ≥ 0
Here, y is the dual vector of variables. Notice that the objective of the dual problem is the transpose of the constraint vector from the primal problem, and the constraints of the dual problem are derived from the objective function of the primal problem.
There are some key connections between the primal and dual problems:
Every feasible (satisfying the constraints) solution of the primal problem is a lower bound on the optimal solution of the dual problem, and every feasible solution of the dual problem is an upper bound for the optimal solution of the primal problem.
If both the primal and dual problems are feasible, then their optimal solutions are equal. This is known as strong duality.
These connections can be visualized as follows:
The primal problem is on the "supply" side, where we're maximizing profits, minimizing costs, or finding the best allocation of resources.
The dual problem is on the "demand" side, where we are considering how much to pay for each resource to achieve the desired outcome at the lowest possible cost or highest possible revenue, as necessary.
The primal-dual relationship is essential in solving linear programming problems, because it enables significant simplification and faster algorithms. Basically, when you solve the primal problem, you also get the solution for the dual problem, and vice versa.
So, to answer your question, primal and dual problems are connected through their objective functions and constraints, where the primal problem's constraints form the dual problem's objective function, and vice versa. Moreover, they have a natural relationship such that if one problem is solved, the other problem's solution is also found, and their optimal solutions are related through the concepts of strong duality and complementary slackness.