You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.html
+1-12Lines changed: 1 addition & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -373,18 +373,7 @@ <h2>Short Example<a class="headerlink" href="#short-example" title="Link to this
373
373
</section>
374
374
<sectionid="citation">
375
375
<h2>Citation<aclass="headerlink" href="#citation" title="Link to this heading">¶</a></h2>
376
-
<p>If you use PyOptInterface in your research, please consider citing <aclass="reference external" href="https://arxiv.org/abs/2405.10130">the following paper</a>:</p>
<spanclass="w"></span><spanclass="na">title</span><spanclass="p">=</span><spanclass="s">{PyOptInterface: Design and implementation of an efficient modeling language for mathematical optimization}</span><spanclass="p">,</span><spanclass="w"></span>
379
-
<spanclass="w"></span><spanclass="na">author</span><spanclass="p">=</span><spanclass="s">{Yue Yang and Chenhui Lin and Luo Xu and Wenchuan Wu}</span><spanclass="p">,</span>
<p>If you use the nonlinear optimization feature of PyOptInterface, please consider citing <aclass="reference external" href="https://ieeexplore.ieee.org/document/10721402">the following paper</a> as well:</p>
376
+
<p>If you use PyOptInterface in your research, please consider citing <aclass="reference external" href="https://ieeexplore.ieee.org/document/10721402">the following paper</a>:</p>
<spanclass="w"></span><spanclass="na">title</span><spanclass="p">=</span><spanclass="s">{Accelerating Optimal Power Flow with Structure-aware Automatic Differentiation and Code Generation}</span><spanclass="p">,</span>
390
379
<spanclass="w"></span><spanclass="na">author</span><spanclass="p">=</span><spanclass="s">{Yang, Yue and Lin, Chenhui and Xu, Luo and Yang, Xiaodong and Wu, Wenchuan and Wang, Bin}</span><spanclass="p">,</span>
2025-12-22 15:14:15 [WARN] no license files in EV 'COPT_LICENSE_DIR':
339
-
340
-
No license found. Starting COPT with size limitations for non-commercial use
341
-
Please apply for a license from www.shanshu.ai/copt
342
-
</pre></div>
343
-
</div>
344
343
</div>
345
344
</div>
346
345
<p>This code snippet creates an infeasible model with two constraints and finds the IIS of the model. Obviously, the constraints are contradictory because <codeclass="docutils literal notranslate"><spanclass="pre">x</span><spanclass="pre">+</span><spanclass="pre">2</span><spanclass="pre">*</span><spanclass="pre">y</span><spanclass="pre"><=</span><spanclass="pre">1</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">x</span><spanclass="pre">+</span><spanclass="pre">y</span><spanclass="pre">>=</span><spanclass="pre">5</span></code> cannot be satisfied at the same time when <codeclass="docutils literal notranslate"><spanclass="pre">x</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">y</span></code> are non-negative. The optimizer will detect that the model is infeasible and return the IIS, which is the set of constraints that cause the infeasibility. We can query whether a constraint is in the IIS by calling <codeclass="docutils literal notranslate"><spanclass="pre">get_constraint_attribute</span></code> with the <codeclass="docutils literal notranslate"><spanclass="pre">ConstraintAttribute.IIS</span></code> attribute.</p>
0 commit comments