<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Optimization on 孤筝の温暖小家</title><link>https://www.guzhengsvt.cn/en/tags/optimization/</link><description>Recent content from 孤筝の温暖小家</description><generator>Hugo</generator><language>en</language><managingEditor>lvbowen040427@163.com (孤筝)</managingEditor><webMaster>lvbowen040427@163.com (孤筝)</webMaster><copyright>All articles on this blog are licensed under the BY-NC-SA license agreement unless otherwise stated. Please indicate the source when reprinting!</copyright><lastBuildDate>Sat, 10 May 2025 18:48:10 +0800</lastBuildDate><atom:link href="https://www.guzhengsvt.cn/en/tags/optimization/index.xml" rel="self" type="application/rss+xml"/><item><title>Optimization Theory and Methods</title><link>https://www.guzhengsvt.cn/en/post/math/%E6%9C%80%E4%BC%98%E5%8C%96%E7%90%86%E8%AE%BA%E4%B8%8E%E6%96%B9%E6%B3%95/</link><pubDate>Sat, 10 May 2025 18:48:10 +0800</pubDate><author>lvbowen040427@163.com (孤筝)</author><guid>https://www.guzhengsvt.cn/en/post/math/%E6%9C%80%E4%BC%98%E5%8C%96%E7%90%86%E8%AE%BA%E4%B8%8E%E6%96%B9%E6%B3%95/</guid><description>
<![CDATA[<h1>Optimization Theory and Methods</h1><p>Author: 孤筝(lvbowen040427@163.com)</p>
        
          <h2 id="optimization-problems">
<a class="header-anchor" href="#optimization-problems"></a>
Optimization Problems
</h2><h3 id="mathematical-model">
<a class="header-anchor" href="#mathematical-model"></a>
Mathematical Model
</h3>$$
\min f(\vec{x}),\vec{x}\in \vec{R^{n}}
$$$$
\text{s.t.}{
\begin{cases}
c_i(x)=0,& i \in E = {1,2,\cdots,l}\\
c_i(\vec{x})\ge 0,& i \in I = {l+1,\cdots,l+m}\\
\end{cases}}
$$<p>
where</p>
<ul>
<li>$\vec{x}=(x_1,x_2,\cdots,x_n)^T$ is called the decision variable vector</li>
<li>$f(\vec{x})$ is the objective function</li>
<li>s.t. means subject to, that is, the constraints</li>
</ul>
<h3 id="classification">
<a class="header-anchor" href="#classification"></a>
Classification
</h3><ol>
<li>By time
<ol>
<li>Static problems</li>
<li>Dynamic problems</li>
</ol>
</li>
<li>By constraints
<ol>
<li>Constrained problems</li>
<li>Unconstrained problems</li>
</ol>
</li>
<li>By whether the objective and constraints are linear
<ol>
<li>Linear programming</li>
<li>Nonlinear programming</li>
</ol>
</li>
<li>By whether the objective and constraints are convex
<ol>
<li>Convex optimization problems</li>
<li>Non-convex optimization problems</li>
</ol>
</li>
</ol>
<h3 id="quadratic-form-matrix">
<a class="header-anchor" href="#quadratic-form-matrix"></a>
Quadratic Form Matrix
</h3><p>Quadratic form:
</p>
$$
\begin{align}
f
&=x_1^2-3x_3^2-4x_1x_2+x_2x_3\\
&=(x_1,x_2,x_3)
\begin{bmatrix}
1 & -2 & 0\\
-2 & 0 & \frac{1}{2}\\
0 & \frac{1}{2} & -3\\
\end{bmatrix}
\begin{bmatrix}
x_1\\
x_2\\
x_3\\
\end{bmatrix}\\
&= \vec{X^T} A \vec{X}\\
\end{align}
$$<p>Quadratic form matrix:
</p>
$$
\begin{bmatrix}
1 & -2 & 0\\
-2 & 0 & \frac{1}{2}\\
0 & \frac{1}{2} & -3\\
\end{bmatrix}
$$<h3 id="hessian-matrix">
<a class="header-anchor" href="#hessian-matrix"></a>
Hessian Matrix
</h3><p>Take a two-variable quadratic function as an example:
</p>
$$
\nabla^2 f(x_1,x_2)=
\begin{bmatrix}
\frac{\partial^2 f}{\partial x_1^2} & \frac{\partial^2 f}{\partial x_1 \partial x_2}\\
\frac{\partial^2 f}{\partial x_2 \partial x_1} & \frac{\partial^2 f}{\partial x_2^2}\\
\end{bmatrix}
$$<h3 id="feasible-solutions">
<a class="header-anchor" href="#feasible-solutions"></a>
Feasible Solutions
</h3><ul>
<li>Feasible solution: a solution satisfying all constraints.</li>
<li>Feasible set (admissible set, feasible region): the set of all feasible solutions.</li>
<li>Optimization problem: find the point in the feasible set at which the objective function attains its maximum or minimum.</li>
<li>Stationary point: if $\nabla f(x_0)=0$, then $x_0$ is called a stationary point.</li>
<li>Saddle point: if $x_0$ is a stationary point but not an extremum point, then it is called a saddle point.</li>
</ul>
<h3 id="convex-sets">
<a class="header-anchor" href="#convex-sets"></a>
Convex Sets
</h3><h4 id="definition">
<a class="header-anchor" href="#definition"></a>
Definition
</h4><p>In the plane, if the line segment joining any two points inside a figure still lies entirely inside the figure, then the figure is called a convex set.</p>
<h4 id="properties">
<a class="header-anchor" href="#properties"></a>
Properties
</h4><ol>
<li>The intersection of convex sets is convex.</li>
<li>A scaled convex set is still convex.</li>
<li>The sum set of convex sets, not the union, is convex.
<ul>
<li>If $D_1,D_2$ are convex sets, then $D_1+D_2=\{z|z=x+y,x \in D_1,y \in D_2\}$ is convex.</li>
</ul>
</li>
<li>A linear combination of convex sets is convex.</li>
</ol>
<h4 id="common-convex-sets">
<a class="header-anchor" href="#common-convex-sets"></a>
Common Convex Sets
</h4><ol>
<li>The empty set</li>
<li>The whole Euclidean space $\vec{R^n}$</li>
<li>A hyperplane $H=\{x \in \vec{R^n} | a_1x_1+a_2x_2+\cdots +a_nx_n=b\}$</li>
<li>A half-space $H^+=\{x \in \vec{R^n} | a_1x_1+a_2x_2+\cdots +a_nx_n \ge b\}$</li>
</ol>
<h4 id="convex-combination">
<a class="header-anchor" href="#convex-combination"></a>
Convex Combination
</h4><p>Let $x_i \in \vec{R^n},i=1,2,\cdots ,k$, and let $\lambda_i \ge 0,\sum^k_{i=1}\lambda_i=1$. Then $x=\sum^k_{i=1}\lambda_ix_i$ is called a convex combination of $x_1,x_2,\cdots , x_k$.<br>
Any finite convex combination of points in a convex set still belongs to that convex set.</p>
<h4 id="extreme-points">
<a class="header-anchor" href="#extreme-points"></a>
Extreme Points
</h4><p>Let $D$ be a convex set and $x \in D$. If there do not exist two distinct points $y,z \in D$ and a real number $\alpha \in (0,1)$ such that $x=\alpha y+(1-\alpha)z$, then $x$ is called an extreme point of $D$.</p>
<p>In plain words: for a pentagon, the extreme points are its vertices; for a semicircle, the extreme points are the two endpoints of its diameter together with the top point on the arc.</p>
<h3 id="convex-functions">
<a class="header-anchor" href="#convex-functions"></a>
Convex Functions
</h3><h4 id="definition-1">
<a class="header-anchor" href="#definition-1"></a>
Definition
</h4><p>Let $f(x)$ be defined on a convex set. If for any two points $x_1,x_2$ in the convex set,
</p>
$$
f(\alpha x_1+(1-\alpha)x_2) \le \alpha f(x_1)+(1-\alpha)f(x_2)
$$<p>
then $f$ is called a convex function.<br>
If the inequality is strict, $\lt$, then it is called a strictly convex function.</p>
<h4 id="criteria">
<a class="header-anchor" href="#criteria"></a>
Criteria
</h4><ol>
<li>If the Hessian matrix of a multivariable function is positive semidefinite, then the function is convex.</li>
<li>If the Hessian matrix is positive definite, then the function is strictly convex.</li>
<li>A multivariable linear function is convex on $\vec{R^n}$.</li>
</ol>
<h3 id="convex-optimization-problems">
<a class="header-anchor" href="#convex-optimization-problems"></a>
Convex Optimization Problems
</h3><h4 id="definition-2">
<a class="header-anchor" href="#definition-2"></a>
Definition
</h4><p>An optimization problem in which the objective function and all constraint functions are convex functions.</p>
<ul>
<li>The feasible set of a convex optimization problem is convex.</li>
<li>Any local optimum is also a global optimum.</li>
<li>If the objective function is strictly convex, then the local optimum exists and is unique.</li>
</ul>
<h2 id="linear-programming">
<a class="header-anchor" href="#linear-programming"></a>
Linear Programming
</h2><h3 id="forms">
<a class="header-anchor" href="#forms"></a>
Forms
</h3><h4 id="nonstandard-form">
<a class="header-anchor" href="#nonstandard-form"></a>
Nonstandard Form
</h4><ul>
<li>Objective function: $\max z=\sum^{n}_{j=1}c_jx_j=CX$</li>
<li>Coefficient matrix:

$$
A=
\begin{bmatrix}
a_{11} & \cdots & a_{1n}\\
\vdots & \ddots & \vdots\\
a_{m1} & \cdots & a_{mn}\\
\end{bmatrix}
=(P_1,P_2,\cdots,P_n)
$$</li>
<li>Resource vector: $b=\begin{bmatrix} b_1\\ \vdots \\ b_m\\ \end{bmatrix}$</li>
<li>Decision variable vector: $X=(x_1,x_2,\cdots , x_n)^T$</li>
<li>Constraints:

$$
\begin{cases}
\sum^{n}_{j=1}a_{ij}x_j=b_i,&i=1,2,\cdots,m\\
x_j \ge 0,& j=1,2,\cdots,n\\
\end{cases}
$$

$$
\begin{cases}
AX=b\\
X \ge \vec{0}
\end{cases}
$$</li>
</ul>
<h4 id="standard-form">
<a class="header-anchor" href="#standard-form"></a>
Standard Form
</h4><ol>
<li>Convert a maximization problem into minimization</li>
<li>Slack variables: for $\le$ constraints, introduce slack variables to turn inequalities into equalities</li>
<li>Surplus variables: for $\ge$ constraints, introduce surplus variables to turn inequalities into equalities</li>
<li>Free variables: variables that may take arbitrary real values in practical problems, written as $x_i=x'-x''$</li>
</ol>
$$
\begin{cases}
\min f(x_1,x_2,\cdots , x_n)\\
\text{s.t.} 
\begin{cases}
h_j(x_1,x_2,\cdots,x_n)=0&(j=1,2,\cdots)\\
x_j \ge 0\\
\end{cases}
\end{cases}
$$<h3 id="basis-matrix">
<a class="header-anchor" href="#basis-matrix"></a>
Basis Matrix
</h3><ul>
<li>Basis (basis matrix): a largest nonsingular submatrix of the coefficient matrix.
<ul>
<li>If the coefficient matrix $A$ is an $m \times n$ matrix with $rank(A)=m$, then any nonsingular $m \times m$ submatrix may serve as a basis matrix.</li>
</ul>
</li>
<li>Basic variables: the unknowns corresponding to the column vectors in the basis.</li>
<li>Nonbasic variables: the unknowns that are not basic variables.</li>
<li>Basic solution: the solution obtained by setting all nonbasic variables to zero.</li>
<li>Nondegenerate basic solution: a basic solution in which the number of nonzero components equals the number of constraint equations. Otherwise it is a degenerate basic solution.</li>
<li>Basic feasible solution: a basic solution satisfying the nonnegativity conditions in $\text{s.t.}$.</li>
<li>Optimal basic feasible solution: among all basic feasible solutions, the one that gives the optimal objective value.</li>
</ul>
<h3 id="properties-of-linear-programming-solutions">
<a class="header-anchor" href="#properties-of-linear-programming-solutions"></a>
Properties of Linear Programming Solutions
</h3><ol>
<li>The feasible set of a linear programming problem is convex.</li>
<li>If an optimal solution exists, it must be attained at a vertex of the feasible set.</li>
</ol>
<h3 id="simplex-method">
<a class="header-anchor" href="#simplex-method"></a>
Simplex Method
</h3><h4 id="reduced-costs">
<a class="header-anchor" href="#reduced-costs"></a>
Reduced Costs
</h4><p>Each unknown corresponds to a reduced cost:
</p>
$$
\sigma_j=C^T_J \vec{P_j}-c_j=\sum^{m}_{i=1}c_ia_{ij}-c_j
$$<ul>
<li>$C^T$ is the coefficient row of the objective function</li>
<li>$C^T_J$ is the row of coefficients of the basic variables in the objective function</li>
<li>$P_j$ denotes the $j$th column of matrix $A$</li>
<li>$c_i$ denotes the coefficient of the $i$th <strong>basic variable</strong> in the objective function</li>
<li>$c_j$ denotes the coefficient of the $j$th <strong>variable</strong> in the objective function and is unrelated to $c_i$</li>
</ul>
<p><strong>When all reduced costs are less than or equal to zero, the current basic feasible solution is optimal.</strong></p>
<p>In general, the reduced costs of basic variables are zero.</p>
<h4 id="basis-transformation">
<a class="header-anchor" href="#basis-transformation"></a>
Basis Transformation
</h4><h5 id="choosing-the-basis-matrix">
<a class="header-anchor" href="#choosing-the-basis-matrix"></a>
Choosing the Basis Matrix
</h5><p>Prefer the identity matrix as the initial basis matrix. Compute the initial basic feasible solution and the reduced costs.</p>
<h5 id="constructing-the-initial-simplex-tableau">
<a class="header-anchor" href="#constructing-the-initial-simplex-tableau"></a>
Constructing the Initial Simplex Tableau
</h5><table>
  <thead>
      <tr>
          <th></th>
          <th>$P_1$</th>
          <th>$P_2$</th>
          <th>$\cdots$</th>
          <th>$P_n$</th>
          <th>$\vec{b}$</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>Coefficient matrix</td>
          <td>$a_{11}$</td>
          <td>$a_{12}$</td>
          <td>$\cdots$</td>
          <td>$a_{1n}$</td>
          <td>$b_1$</td>
      </tr>
      <tr>
          <td></td>
          <td>$a_{21}$</td>
          <td>$a_{22}$</td>
          <td>$\cdots$</td>
          <td>$a_{2n}$</td>
          <td>$b_2$</td>
      </tr>
      <tr>
          <td></td>
          <td>$\vdots$</td>
          <td>$\vdots$</td>
          <td>$\ddots$</td>
          <td>$\vdots$</td>
          <td>$\vdots$</td>
      </tr>
      <tr>
          <td></td>
          <td>$a_{m1}$</td>
          <td>$a_{m2}$</td>
          <td>$\cdots$</td>
          <td>$a_{mn}$</td>
          <td>$b_m$</td>
      </tr>
      <tr>
          <td>Reduced costs</td>
          <td>$\sigma_1$</td>
          <td>$\sigma_2$</td>
          <td>$\cdots$</td>
          <td>$\sigma_n$</td>
          <td>Optimal value</td>
      </tr>
  </tbody>
</table>
<h5 id="selecting-an-entering-column">
<a class="header-anchor" href="#selecting-an-entering-column"></a>
Selecting an Entering Column
</h5><p>If a reduced cost is greater than zero, then the corresponding column has improving potential. Choose this column as the entering column $P_j$, and the corresponding variable $x_j$ is the entering variable.</p>
<h5 id="selecting-the-pivot-element">
<a class="header-anchor" href="#selecting-the-pivot-element"></a>
Selecting the Pivot Element
</h5><p>Among the positive entries $a_{ij}$ in the entering column, divide the corresponding entry of $b$ by each such element and choose the smallest ratio. The corresponding element $a_{ij}$ is the pivot.<br>
<em><strong>If a reduced cost is greater than zero but all entries in that column are negative, then the linear program has no optimal solution.</strong></em></p>
<h5 id="elementary-row-operations">
<a class="header-anchor" href="#elementary-row-operations"></a>
Elementary Row Operations
</h5><p>Transform the pivot into 1 and all other entries in that column into 0.<br>
<strong>Geometric meaning: moving to another vertex of the feasible region.</strong></p>
<h5 id="leaving-column">
<a class="header-anchor" href="#leaving-column"></a>
Leaving Column
</h5><p>Select the new basis matrix according to the updated coefficient matrix. Compared with the old basis, the replaced column is the leaving column, and its corresponding variable is the leaving variable.<br>
Then recompute the reduced costs and form the new simplex tableau.</p>
<h5 id="a-new-basis-transformation">
<a class="header-anchor" href="#a-new-basis-transformation"></a>
A New Basis Transformation
</h5><p>If the reduced-cost row changes and new positive reduced costs appear, choose the corresponding column as the new entering column, select a pivot, and perform elementary row operations again.</p>
<h5 id="result">
<a class="header-anchor" href="#result"></a>
Result
</h5><p>When all reduced costs are less than or equal to zero, the entries of $\vec{b}$ are the values of the basic variables, while the nonbasic variables are set to 0. Together these form the optimal solution, and substituting them into the objective function gives the minimum value.</p>
<h4 id="conditions-for-applying-the-simplex-method">
<a class="header-anchor" href="#conditions-for-applying-the-simplex-method"></a>
Conditions for Applying the Simplex Method
</h4><ol>
<li>All elements in the nonhomogeneous term are nonnegative.</li>
<li>A feasible solution exists.</li>
<li>The sum of products of slack variables and nonbasic variables is zero.</li>
<li>The problem is a linear programming problem on a convex feasible region.</li>
<li>The feasible solution set is finite.</li>
</ol>
<h3 id="artificial-variable-method">
<a class="header-anchor" href="#artificial-variable-method"></a>
Artificial Variable Method
</h3><p>When the coefficient matrix does not contain an identity matrix, one usually introduces artificial variables to construct one artificially.</p>
<p>Suppose the constraints of the linear programming problem are $\sum^{n}_{j=1}a_{ij}=b_i(i=1,2,\cdots ,m)$. Add artificial variables $x_{n+1},x_{n+2},\cdots,x_{n+m}$ to each constraint and use them as the basic variables, so that they form an identity matrix and all other variables are zero. In this way we obtain an initial feasible solution $x^{(0)}=(0,0,\cdots,0,b_1,b_2,\cdots,b_m)^T$.<br>
Starting from this point, carry out basis transformations to obtain an optimal solution without nonzero artificial variables.</p>
<p>If all reduced costs are negative but nonzero artificial variables still remain, then the original problem has no feasible solution.</p>
<h3 id="big-m-method">
<a class="header-anchor" href="#big-m-method"></a>
Big-M Method
</h3><p>For a minimization problem, after introducing artificial variables into the constraints, assign the coefficient $M$ to the artificial variables in the objective function, where $M \in \vec{R^+}$.<br>
To obtain the minimum objective value, one keeps carrying out basis transformations until the artificial variables become zero. For a maximization problem, $M \in \vec{R^-}$.</p>
<h3 id="degenerate-cases">
<a class="header-anchor" href="#degenerate-cases"></a>
Degenerate Cases
</h3><p>If the simplex method falls into cycling while the problem does have an optimal solution, the following methods may be used to avoid cycling.</p>
<h4 id="perturbation-method">
<a class="header-anchor" href="#perturbation-method"></a>
Perturbation Method
</h4><h4 id="revised-simplex-method">
<a class="header-anchor" href="#revised-simplex-method"></a>
Revised Simplex Method
</h4><h2 id="duality-theory-of-linear-programming">
<a class="header-anchor" href="#duality-theory-of-linear-programming"></a>
Duality Theory of Linear Programming
</h2><h3 id="forms-of-the-dual-problem">
<a class="header-anchor" href="#forms-of-the-dual-problem"></a>
Forms of the Dual Problem
</h3><h4 id="symmetric-form">
<a class="header-anchor" href="#symmetric-form"></a>
Symmetric Form
</h4><p>Primal problem
</p>
$$
\begin{cases}
\min f=\vec{c^T}\vec{x}\\
\text{s.t.}
\begin{cases}
\vec{A}\vec{x} \ge \vec{b}\\
\vec{x} \ge \vec{0}
\end{cases}
\end{cases}
$$<p>Dual problem
</p>
$$
\begin{cases}
\max w=\vec{b^T}\vec{y}\\
\text{s.t.}
\begin{cases}
\vec{A^T}\vec{y} \le \vec{c}\\
\vec{y} \ge \vec{0}\\
\end{cases}
\end{cases}
$$<p>Correspondence:</p>
<ul>
<li>(1) The number of constraints in the primal problem equals the number of variables in its dual.</li>
<li>(2) The coefficients of the primal objective function become the right-hand-side constants of the dual constraints.</li>
<li>(3) If the primal objective is minimization, then the dual objective is maximization.</li>
<li>(4) If the primal constraints are of type “$\ge$”, then the dual constraints are of type “$\le$”.</li>
</ul>
<h4 id="asymmetric-form">
<a class="header-anchor" href="#asymmetric-form"></a>
Asymmetric Form
</h4><p>Primal problem
</p>
$$
\begin{cases}
\min f=\vec{c^T}\vec{x}\\
\text{s.t.}
\begin{cases}
\vec{A}\vec{x} = \vec{b}\\
\vec{x} \ge \vec{0}
\end{cases}
\end{cases}
$$<p>Dual problem
</p>
$$
\begin{cases}
\max w=\vec{b^T}\vec{y}\\
\text{s.t.}
\begin{cases}
\vec{A^T}\vec{y} \le \vec{c}\\
\vec{y} \text{ is unrestricted}
\end{cases}
\end{cases}
$$<h4 id="general-case">
<a class="header-anchor" href="#general-case"></a>
General Case
</h4><p>If the primal problem contains a mixture of $\le,\ge,=$ constraints, first introduce slack and surplus variables so that all constraints become equalities, and then construct the dual using the asymmetric form.</p>
<p><img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media//photo/%E5%8E%9F%E9%97%AE%E9%A2%98%E4%B8%8E%E5%AF%B9%E5%81%B6%E9%97%AE%E9%A2%98%E5%AF%B9%E5%BA%94%E5%85%B3%E7%B3%BB%E8%A1%A81.png" alt="原问题与对偶问题对应关系表1.png">
<img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media//photo/%E5%8E%9F%E9%97%AE%E9%A2%98%E4%B8%8E%E5%AF%B9%E5%81%B6%E9%97%AE%E9%A2%98%E5%AF%B9%E5%BA%94%E5%85%B3%E7%B3%BB%E8%A1%A82.png" alt="原问题与对偶问题对应关系表2.png"></p>
<h3 id="dual-simplex-method">
<a class="header-anchor" href="#dual-simplex-method"></a>
Dual Simplex Method
</h3><ul>
<li>Simplex method: first ensure $\vec{b} \ge 0$, then iterate based on reduced costs $\le 0$.</li>
<li>Dual simplex method: first ensure reduced costs $\le 0$, then iterate based on $\vec{b} \ge 0$.</li>
</ul>
<h4 id="ensuring-reduced-costs">
<a class="header-anchor" href="#ensuring-reduced-costs"></a>
Ensuring Reduced Costs $\le 0$
</h4><h4 id="choosing-the-leaving-variable">
<a class="header-anchor" href="#choosing-the-leaving-variable"></a>
Choosing the Leaving Variable
</h4><p>If there exists a negative $b_i \lt 0$, then the row containing the smallest $\min b_i$ is chosen as the leaving row, and the corresponding variable is the leaving variable.</p>
<h4 id="choosing-the-entering-variable">
<a class="header-anchor" href="#choosing-the-entering-variable"></a>
Choosing the Entering Variable
</h4><p>Divide each reduced cost by the negative coefficient in the leaving row, that is, $a_{ij} \lt 0$. The column corresponding to the smallest resulting value is chosen as the entering column, and the corresponding variable is the entering variable.</p>
<h4 id="row-operations">
<a class="header-anchor" href="#row-operations"></a>
Row Operations
</h4><p>Use elementary row operations to transform the entering column into one that matches the basis matrix, that is, an identity column. At this point $\vec{b}$ changes as well.<br>
Then recompute the reduced costs and ensure that they remain less than or equal to zero.</p>
<h4 id="a-new-basis-transformation-1">
<a class="header-anchor" href="#a-new-basis-transformation-1"></a>
A New Basis Transformation
</h4><p>If there is still a negative value $b_i \lt 0$, choose the smallest $\min b_i$ and perform another basis transformation.</p>
<h4 id="result-1">
<a class="header-anchor" href="#result-1"></a>
Result
</h4><p>When all $b_i \ge 0$, the vector $\vec{b}$ gives the optimal values of the basic variables, while the nonbasic variables are 0.<br>
Substitute them into the objective function to obtain the optimal value, whether maximum or minimum.</p>
<h2 id="sensitivity-analysis">
<a class="header-anchor" href="#sensitivity-analysis"></a>
Sensitivity Analysis
</h2>
        
        <hr><p>Published on 2025-05-10 at <a href='https://www.guzhengsvt.cn/'>孤筝の温暖小家</a>, last modified on 2025-05-10</p><p>All articles on this blog are licensed under the BY-NC-SA license agreement unless otherwise stated. Please indicate the source when reprinting!</p>]]></description><category>Math</category></item></channel></rss>