The MOSEK Python optimizer API manual Version 7.0 (Revision 141)
Optimizer API for Python - Documentation - Mosek Optimizer API for Python - Documentation - Mosek
174 CHAPTER 13. THE ANALYZERS 13.2.5 Theory concerning infeasible problems This section discusses the theory of infeasibility certificates and how MOSEK uses a certificate to produce an infeasibility report. In general, MOSEK solves the problem where the corresponding dual problem is (13.3) minimize c T x + c f subject to l c ≤ Ax ≤ u c , l x ≤ x ≤ u x maximize (l c ) T s c l − (u c ) T s c u + (l x ) T s x l − (u x ) T s x u + c f subject to A T y + s x l − s x u = c, − y + s c l − s c u = 0, s c l , s c u, s x l , s x u ≥ 0. (13.4) We use the convension that for any bound that is not finite, the corresponding dual variable is fixed at zero (and thus will have no influence on the dual problem). For example l x j = −∞ ⇒ (s x l ) j = 0 13.2.6 The certificate of primal infeasibility A certificate of primal infeasibility is any solution to the homogenized dual problem with a positive objective value. That is, (s c∗ l , s c∗ maximize (l c ) T s c l − (u c ) T s c u + (l x ) T s x l − (u x ) T s x u subject to A T y + s x l − s x u = 0, − y + s c l − s c u = 0, s c l , s c u, s x l , s x u ≥ 0. u , s x∗ l , s x∗ u ) is a certificate of primal infeasibility if and (l c ) T s c∗ l − (u c ) T s c∗ u + (l x ) T s x∗ l − (u x ) T s x∗ u > 0 A T y + s x∗ l − s x∗ u = 0, − y + s c∗ l − s c∗ u = 0, s c∗ l , s c∗ u , s x∗ l , s x∗ u ≥ 0. The well-known Farkas Lemma tells us that (13.3) is infeasible if and only if a certificate of primal infeasibility exists. Let (s c∗ l , s c∗ u , s x∗ l , s x∗ u ) be a certificate of primal infeasibility then
13.2. ANALYZING INFEASIBLE PROBLEMS 175 (s c∗ l ) i > 0((s c∗ u ) i > 0) implies that the lower (upper) bound on the i th constraint is important for the infeasibility. Furthermore, (s x∗ l ) j > 0((s x∗ u ) i > 0) implies that the lower (upper) bound on the j th variable is important for the infeasibility. 13.2.7 The certificate of dual infeasibility A certificate of dual infeasibility is any solution to the problem minimize c T x subject to ¯lc ≤ Ax ≤ ū c , ¯lx ≤ x ≤ ū x with negative objective value, where we use the definitions and { 0, l c ¯lc i := i > −∞, − ∞, otherwise, , ū c i := { 0, u c i < ∞, ∞, otherwise, { 0, l x ¯lx i := i > −∞, − ∞, otherwise, and ū x i := { 0, u x i < ∞, ∞, otherwise. Stated differently, a certificate of dual infeasibility is any x ∗ such that ¯lc ¯lx c T x ∗ < 0, ≤ Ax ∗ ≤ ū c , (13.5) ≤ x ∗ ≤ ū x The well-known Farkas Lemma tells us that (13.4) is infeasible if and only if a certificate of dual infeasibility exists. Note that if x ∗ is a certificate of dual infeasibility then for any j such that variable j is involved in the dual infeasibility. x ∗ j ≠ 0,
- Page 145 and 146: Chapter 10 Problem formulation and
- Page 147 and 148: 10.1. LINEAR OPTIMIZATION 125 be a
- Page 149 and 150: 10.2. CONIC QUADRATIC OPTIMIZATION
- Page 151 and 152: 10.2. CONIC QUADRATIC OPTIMIZATION
- Page 153 and 154: 10.3. SEMIDEFINITE OPTIMIZATION 131
- Page 155 and 156: 10.4. QUADRATIC AND QUADRATICALLY C
- Page 157 and 158: Chapter 11 The optimizers for conti
- Page 159 and 160: 11.1. HOW AN OPTIMIZER WORKS 137 11
- Page 161 and 162: 11.2. LINEAR OPTIMIZATION 139 11.2.
- Page 163 and 164: 11.2. LINEAR OPTIMIZATION 141 Whene
- Page 165 and 166: 11.2. LINEAR OPTIMIZATION 143 11.2.
- Page 167 and 168: 11.2. LINEAR OPTIMIZATION 145 • R
- Page 169 and 170: 11.5. NONLINEAR CONVEX OPTIMIZATION
- Page 171 and 172: 11.6. SOLVING PROBLEMS IN PARALLEL
- Page 173 and 174: 11.6. SOLVING PROBLEMS IN PARALLEL
- Page 175 and 176: 11.6. SOLVING PROBLEMS IN PARALLEL
- Page 177 and 178: Chapter 12 The optimizers for mixed
- Page 179 and 180: 12.3. THE MIXED-INTEGER CONIC OPTIM
- Page 181 and 182: 12.5. TERMINATION CRITERION 159 •
- Page 183 and 184: 12.7. UNDERSTANDING SOLUTION QUALIT
- Page 185 and 186: Chapter 13 The analyzers 13.1 The p
- Page 187 and 188: 13.1. THE PROBLEM ANALYZER 165 Cons
- Page 189 and 190: 13.2. ANALYZING INFEASIBLE PROBLEMS
- Page 191 and 192: 13.2. ANALYZING INFEASIBLE PROBLEMS
- Page 193 and 194: 13.2. ANALYZING INFEASIBLE PROBLEMS
- Page 195: 13.2. ANALYZING INFEASIBLE PROBLEMS
- Page 199 and 200: Chapter 14 Primal feasibility repai
- Page 201 and 202: 14.2. AUTOMATIC REPAIR 179 One way
- Page 203 and 204: 14.3. FEASIBILITY REPAIR IN MOSEK 1
- Page 205 and 206: 14.3. FEASIBILITY REPAIR IN MOSEK 1
- Page 207 and 208: Chapter 15 Sensitivity analysis 15.
- Page 209 and 210: 15.4. SENSITIVITY ANALYSIS FOR LINE
- Page 211 and 212: 15.4. SENSITIVITY ANALYSIS FOR LINE
- Page 213 and 214: 15.4. SENSITIVITY ANALYSIS FOR LINE
- Page 215 and 216: 15.5. SENSITIVITY ANALYSIS FROM THE
- Page 217 and 218: 15.6. SENSITIVITY ANALYSIS WITH THE
- Page 219 and 220: 15.6. SENSITIVITY ANALYSIS WITH THE
- Page 221 and 222: Appendix A API reference This chapt
- Page 223 and 224: 201 • Task.relaxprimal Obtain inf
- Page 225 and 226: A.1. EXCEPTIONS 203 • Task.putvar
- Page 227 and 228: A.2. CLASS TASK 205 Arguments which
- Page 229 and 230: A.2. CLASS TASK 207 See also • Ro
- Page 231 and 232: A.2. CLASS TASK 209 Description: Ap
- Page 233 and 234: A.2. CLASS TASK 211 Description: If
- Page 235 and 236: A.2. CLASS TASK 213 A.2.16 Task.com
- Page 237 and 238: A.2. CLASS TASK 215 subj : int[] In
- Page 239 and 240: A.2. CLASS TASK 217 firsti : int In
- Page 241 and 242: A.2. CLASS TASK 219 A.2.27 Task.get
- Page 243 and 244: A.2. CLASS TASK 221 valijkl : Descr
- Page 245 and 246: A.2. CLASS TASK 223 A.2.33 Task.get
174 CHAPTER 13. THE ANALYZERS<br />
13.2.5 <strong>The</strong>ory concerning infeasible problems<br />
This section discusses the theory of infeasibility certificates and how <strong>MOSEK</strong> uses a certificate to<br />
produce an infeasibility report. In general, <strong>MOSEK</strong> solves the problem<br />
where the corresponding dual problem is<br />
(13.3)<br />
minimize<br />
c T x + c f<br />
subject to l c ≤ Ax ≤ u c ,<br />
l x ≤ x ≤ u x<br />
maximize (l c ) T s c l − (u c ) T s c u<br />
+ (l x ) T s x l − (u x ) T s x u + c f<br />
subject to A T y + s x l − s x u = c,<br />
− y + s c l − s c u = 0,<br />
s c l , s c u, s x l , s x u ≥ 0.<br />
(13.4)<br />
We use the convension that for any bound that is not finite, the corresponding dual variable is fixed<br />
at zero (and thus will have no influence on the dual problem). For example<br />
l x j = −∞ ⇒ (s x l ) j = 0<br />
13.2.6 <strong>The</strong> certificate of primal infeasibility<br />
A certificate of primal infeasibility is any solution to the homogenized dual problem<br />
with a positive objective value. That is, (s c∗<br />
l<br />
, s c∗<br />
maximize (l c ) T s c l − (u c ) T s c u<br />
+ (l x ) T s x l − (u x ) T s x u<br />
subject to A T y + s x l − s x u = 0,<br />
− y + s c l − s c u = 0,<br />
s c l , s c u, s x l , s x u ≥ 0.<br />
u , s x∗<br />
l<br />
, s x∗<br />
u ) is a certificate of primal infeasibility if<br />
and<br />
(l c ) T s c∗<br />
l<br />
− (u c ) T s c∗<br />
u<br />
+ (l x ) T s x∗<br />
l<br />
− (u x ) T s x∗<br />
u > 0<br />
A T y + s x∗<br />
l − s x∗<br />
u = 0,<br />
− y + s c∗<br />
l − s c∗<br />
u = 0,<br />
s c∗<br />
l , s c∗<br />
u , s x∗<br />
l , s x∗<br />
u ≥ 0.<br />
<strong>The</strong> well-known Farkas Lemma tells us that (13.3) is infeasible if and only if a certificate of primal<br />
infeasibility exists.<br />
Let (s c∗<br />
l<br />
, s c∗<br />
u , s x∗<br />
l<br />
, s x∗<br />
u ) be a certificate of primal infeasibility then