Skip to content

Commit a7afe1e

Browse files
committed
Deploying to gh-pages from @ 1addaf8 🚀
1 parent 8697d7b commit a7afe1e

File tree

10 files changed

+56
-50
lines changed

10 files changed

+56
-50
lines changed

_sources/benchmark.md.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ This is the result of benchmark, where the performance of PyOptInterface exceeds
5050

5151
| N | Variables | PyOptInterface | linopy | cvxpy |
5252
| --- | --------- | -------------- | -------- | --------- |
53-
| 100 | 20000 | 0.112849 | 0.422408 | 0.373407 |
54-
| 200 | 80000 | 0.294830 | 1.118702 | 1.575949 |
55-
| 300 | 180000 | 0.710237 | 2.462809 | 4.038862 |
56-
| 400 | 320000 | 1.256276 | 4.535225 | 8.687895 |
57-
| 500 | 500000 | 2.189127 | 8.243707 | 18.941519 |
53+
| 100 | 20000 | 0.076867 | 0.433379 | 0.224613 |
54+
| 200 | 80000 | 0.356767 | 0.959883 | 0.927248 |
55+
| 300 | 180000 | 0.796876 | 2.080950 | 2.681649 |
56+
| 400 | 320000 | 1.375459 | 3.715881 | 6.174171 |
57+
| 500 | 500000 | 2.222600 | 6.297467 | 12.153747 |
5858

5959
:::
6060

benchmark.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -467,33 +467,33 @@ <h2>Model construction time<a class="headerlink" href="#model-construction-time"
467467
<tbody>
468468
<tr class="row-even"><td><p>100</p></td>
469469
<td><p>20000</p></td>
470-
<td><p>0.112849</p></td>
471-
<td><p>0.422408</p></td>
472-
<td><p>0.373407</p></td>
470+
<td><p>0.076867</p></td>
471+
<td><p>0.433379</p></td>
472+
<td><p>0.224613</p></td>
473473
</tr>
474474
<tr class="row-odd"><td><p>200</p></td>
475475
<td><p>80000</p></td>
476-
<td><p>0.294830</p></td>
477-
<td><p>1.118702</p></td>
478-
<td><p>1.575949</p></td>
476+
<td><p>0.356767</p></td>
477+
<td><p>0.959883</p></td>
478+
<td><p>0.927248</p></td>
479479
</tr>
480480
<tr class="row-even"><td><p>300</p></td>
481481
<td><p>180000</p></td>
482-
<td><p>0.710237</p></td>
483-
<td><p>2.462809</p></td>
484-
<td><p>4.038862</p></td>
482+
<td><p>0.796876</p></td>
483+
<td><p>2.080950</p></td>
484+
<td><p>2.681649</p></td>
485485
</tr>
486486
<tr class="row-odd"><td><p>400</p></td>
487487
<td><p>320000</p></td>
488-
<td><p>1.256276</p></td>
489-
<td><p>4.535225</p></td>
490-
<td><p>8.687895</p></td>
488+
<td><p>1.375459</p></td>
489+
<td><p>3.715881</p></td>
490+
<td><p>6.174171</p></td>
491491
</tr>
492492
<tr class="row-even"><td><p>500</p></td>
493493
<td><p>500000</p></td>
494-
<td><p>2.189127</p></td>
495-
<td><p>8.243707</p></td>
496-
<td><p>18.941519</p></td>
494+
<td><p>2.222600</p></td>
495+
<td><p>6.297467</p></td>
496+
<td><p>12.153747</p></td>
497497
</tr>
498498
</tbody>
499499
</table>

constraint.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -307,12 +307,12 @@ <h1>Constraint<a class="headerlink" href="#constraint" title="Link to this headi
307307
</div>
308308
</div>
309309
<div class="cell_output docutils container">
310-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>2025-06-07 17:41:05 [INFO] checks license for COPT v7.2.8 20250516
311-
2025-06-07 17:41:05 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
312-
2025-06-07 17:41:05 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.12.10/x64/bin
313-
2025-06-07 17:41:05 [WARN] no license files in HOME folder: /home/runner/copt
314-
2025-06-07 17:41:05 [INFO] empty environment variable: COPT_LICENSE_DIR
315-
2025-06-07 17:41:05 [WARN] no license files in EV &#39;COPT_LICENSE_DIR&#39;:
310+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>2025-06-10 08:46:10 [INFO] checks license for COPT v7.2.8 20250516
311+
2025-06-10 08:46:10 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
312+
2025-06-10 08:46:10 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.12.10/x64/bin
313+
2025-06-10 08:46:10 [WARN] no license files in HOME folder: /home/runner/copt
314+
2025-06-10 08:46:10 [INFO] empty environment variable: COPT_LICENSE_DIR
315+
2025-06-10 08:46:10 [WARN] no license files in EV &#39;COPT_LICENSE_DIR&#39;:
316316

317317
No license found. Starting COPT with size limitations for non-commercial use
318318
Please apply for a license from www.shanshu.ai/copt
@@ -624,7 +624,7 @@ <h2>Create constraint with comparison operator<a class="headerlink" href="#creat
624624
</div>
625625
</div>
626626
<div class="cell_output docutils container">
627-
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7f8988ffaa90&gt;
627+
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7f9d1cd6af50&gt;
628628
</pre></div>
629629
</div>
630630
</div>

examples/economic_dispatch.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -492,13 +492,6 @@ <h2>Change the load and solve the model again<a class="headerlink" href="#change
492492
Iteration Objective NullspaceDim
493493
0 15430.248 0 0.00s
494494
100 14091.031 3 0.01s
495-
169 13740.237 10 0.01s
496-
Model status : Optimal
497-
Simplex iterations: 86
498-
QP ASM iterations: 169
499-
Objective value : 1.3740213571e+04
500-
P-D objective error : 1.6699127419e-06
501-
HiGHS run time : 0.01
502495
TerminationStatusCode.OPTIMAL
503496
Objective value: 13740.213571429404
504497
[[100. 100. 100. 100. 100.
@@ -518,6 +511,15 @@ <h2>Change the load and solve the model again<a class="headerlink" href="#change
518511
52.85719184 53.28576347 53.7143351 54.14290673]]
519512
</pre></div>
520513
</div>
514+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 169 13740.237 10 0.01s
515+
Model status : Optimal
516+
Simplex iterations: 86
517+
QP ASM iterations: 169
518+
Objective value : 1.3740213571e+04
519+
P-D objective error : 1.6699127419e-06
520+
HiGHS run time : 0.01
521+
</pre></div>
522+
</div>
521523
</div>
522524
</div>
523525
</section>

expression.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,8 @@ <h2>Efficient expression construction<a class="headerlink" href="#efficient-expr
364364
</div>
365365
</div>
366366
<div class="cell_output docutils container">
367-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 737 μs, sys: 0 ns, total: 737 μs
368-
Wall time: 741 μs
367+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 726 μs, sys: 0 ns, total: 726 μs
368+
Wall time: 729 μs
369369
</pre></div>
370370
</div>
371371
</div>
@@ -377,8 +377,8 @@ <h2>Efficient expression construction<a class="headerlink" href="#efficient-expr
377377
</div>
378378
</div>
379379
<div class="cell_output docutils container">
380-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 15.3 ms, sys: 48 μs, total: 15.4 ms
381-
Wall time: 15.2 ms
380+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 15.9 ms, sys: 0 ns, total: 15.9 ms
381+
Wall time: 15.7 ms
382382
</pre></div>
383383
</div>
384384
</div>

infeasibility.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -317,12 +317,12 @@ <h1>Infeasibility Analysis<a class="headerlink" href="#infeasibility-analysis" t
317317
</div>
318318
</div>
319319
<div class="cell_output docutils container">
320-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Constraint 1 IIS: True2025-06-07 17:41:12 [INFO] checks license for COPT v7.2.8 20250516
321-
2025-06-07 17:41:12 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
322-
2025-06-07 17:41:12 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.12.10/x64/bin
323-
2025-06-07 17:41:12 [WARN] no license files in HOME folder: /home/runner/copt
324-
2025-06-07 17:41:12 [INFO] empty environment variable: COPT_LICENSE_DIR
325-
2025-06-07 17:41:12 [WARN] no license files in EV &#39;COPT_LICENSE_DIR&#39;:
320+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Constraint 1 IIS: True2025-06-10 08:46:17 [INFO] checks license for COPT v7.2.8 20250516
321+
2025-06-10 08:46:17 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
322+
2025-06-10 08:46:17 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.12.10/x64/bin
323+
2025-06-10 08:46:17 [WARN] no license files in HOME folder: /home/runner/copt
324+
2025-06-10 08:46:17 [INFO] empty environment variable: COPT_LICENSE_DIR
325+
2025-06-10 08:46:17 [WARN] no license files in EV &#39;COPT_LICENSE_DIR&#39;:
326326

327327
No license found. Starting COPT with size limitations for non-commercial use
328328
Please apply for a license from www.shanshu.ai/copt

model.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,10 @@ <h2>Inspect and customize the model<a class="headerlink" href="#inspect-and-cust
424424
RHS [1e+00, 1e+00]
425425
Iteration Objective NullspaceDim
426426
0 1 0 0.00s
427-
2 0.50000002 1 0.00s
428427
Objective value: 0.49999999999999994
428+
</pre></div>
429+
</div>
430+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 2 0.50000002 1 0.00s
429431
Model status : Optimal
430432
QP ASM iterations: 2
431433
Objective value : 5.0000000000e-01

numpy.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,6 @@ <h2>N-queen problem<a class="headerlink" href="#n-queen-problem" title="Link to
361361
42 rows
362362
64 cols (64 binary, 0 integer, 0 implied int., 0 continuous, 0 domain fixed)
363363
270 nonzeros
364-
Termination status: TerminationStatusCode.OPTIMAL
365364

366365
Src: B =&gt; Branching; C =&gt; Central rounding; F =&gt; Feasibility pump; J =&gt; Feasibility jump;
367366
H =&gt; Heuristic; L =&gt; Sub-MIP; P =&gt; Empty MIP; R =&gt; Randomized rounding; Z =&gt; ZI Round;
@@ -372,7 +371,10 @@ <h2>N-queen problem<a class="headerlink" href="#n-queen-problem" title="Link to
372371
Src Proc. InQueue | Leaves Expl. | BestBound BestSol Gap | Cuts InLp Confl. | LpIters Time
373372

374373
J 0 0 0 100.00% -inf 0 Large 0 0 0 0 0.0s
375-
1 0 1 100.00% 0 0 0.00% 0 0 0 0 0.0s
374+
Termination status: TerminationStatusCode.OPTIMAL
375+
</pre></div>
376+
</div>
377+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 1 0 1 100.00% 0 0 0.00% 0 0 0 0 0.0s
376378

377379
Solving report
378380
Status Optimal

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

structure.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,6 @@ <h1>Building Bigger Optimization Model<a class="headerlink" href="#building-bigg
406406
Src Proc. InQueue | Leaves Expl. | BestBound BestSol Gap | Cuts InLp Confl. | LpIters Time
407407

408408
J 0 0 0 100.00% -inf 0 Large 0 0 0 0 0.0s
409-
Termination status: TerminationStatusCode.OPTIMAL
410409
1 0 1 100.00% 0 0 0.00% 0 0 0 0 0.0s
411410

412411
Solving report
@@ -420,7 +419,7 @@ <h1>Building Bigger Optimization Model<a class="headerlink" href="#building-bigg
420419
0 (bound viol.)
421420
0 (int. viol.)
422421
0 (row viol.)
423-
Timing 0.02 (total)
422+
Timing 0.01 (total)
424423
0.00 (presolve)
425424
0.00 (solve)
426425
0.00 (postsolve)
@@ -431,6 +430,7 @@ <h1>Building Bigger Optimization Model<a class="headerlink" href="#building-bigg
431430
0 (strong br.)
432431
0 (separation)
433432
0 (heuristics)
433+
Termination status: TerminationStatusCode.OPTIMAL
434434
</pre></div>
435435
</div>
436436
</div>

0 commit comments

Comments
 (0)