Skip to content

Commit af8bc84

Browse files
committed
Deploying to gh-pages from @ 0cd9b69 🚀
1 parent 060ee18 commit af8bc84

11 files changed

+54
-53
lines changed

constraint.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -299,12 +299,12 @@ <h1>Constraint<a class="headerlink" href="#constraint" title="Link to this headi
299299
</div>
300300
</div>
301301
<div class="cell_output docutils container">
302-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>2026-02-13 00:55:36 [INFO] checks license for COPT v8.0.2 20251201
303-
2026-02-13 00:55:36 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
304-
2026-02-13 00:55:36 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.13.12/x64/bin
305-
2026-02-13 00:55:36 [WARN] no license files in HOME folder: /home/runner/copt
306-
2026-02-13 00:55:36 [INFO] empty environment variable: COPT_LICENSE_DIR
307-
2026-02-13 00:55:36 [WARN] no license files in EV &#39;COPT_LICENSE_DIR&#39;:
302+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>2026-02-14 12:16:41 [INFO] checks license for COPT v8.0.2 20251201
303+
2026-02-14 12:16:41 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
304+
2026-02-14 12:16:41 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.13.12/x64/bin
305+
2026-02-14 12:16:41 [WARN] no license files in HOME folder: /home/runner/copt
306+
2026-02-14 12:16:41 [INFO] empty environment variable: COPT_LICENSE_DIR
307+
2026-02-14 12:16:41 [WARN] no license files in EV &#39;COPT_LICENSE_DIR&#39;:
308308

309309
No license found. Starting COPT with size limitations for non-commercial use
310310
Please apply for a license from www.shanshu.ai/copt
@@ -379,7 +379,7 @@ <h2>Linear Constraint<a class="headerlink" href="#linear-constraint" title="Link
379379
</div>
380380
</div>
381381
<div class="cell_output docutils container">
382-
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7fef448aeb10&gt;
382+
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7fd0a042a2b0&gt;
383383
</pre></div>
384384
</div>
385385
</div>
@@ -392,7 +392,7 @@ <h2>Linear Constraint<a class="headerlink" href="#linear-constraint" title="Link
392392
</div>
393393
</div>
394394
<div class="cell_output docutils container">
395-
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7fef448af970&gt;
395+
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7fd0a042b5f0&gt;
396396
</pre></div>
397397
</div>
398398
</div>
@@ -406,7 +406,7 @@ <h2>Linear Constraint<a class="headerlink" href="#linear-constraint" title="Link
406406
</div>
407407
</div>
408408
<div class="cell_output docutils container">
409-
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7fef448af9d0&gt;
409+
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7fd0a042b670&gt;
410410
</pre></div>
411411
</div>
412412
</div>

examples/economic_dispatch.html

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -413,16 +413,14 @@ <h2>Implementation<a class="headerlink" href="#implementation" title="Link to th
413413
0 14328.52 0 0.00s
414414
100 12722.021 1 0.00s
415415
108 12684.021 0 0.00s
416-
TerminationStatusCode.OPTIMAL
417-
Objective value: 12684.0
418-
</pre></div>
419-
</div>
420-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Model status : Optimal
416+
Model status : Optimal
421417
Simplex iterations: 63
422418
QP ASM iterations: 108
423419
Objective value : 1.2684000000e+04
424420
P-D objective error : 1.6461008020e-06
425421
HiGHS run time : 0.00
422+
TerminationStatusCode.OPTIMAL
423+
Objective value: 12684.0
426424
</pre></div>
427425
</div>
428426
</div>
@@ -487,10 +485,9 @@ <h2>Change the load and solve the model again<a class="headerlink" href="#change
487485
Bound [5e+01, 1e+02]
488486
RHS [2e+01, 2e+02]
489487
Iteration Objective NullspaceDim
490-
0 15430.248 0 0.00s
488+
0 15430.248 0 0.01s
491489
100 14091.031 3 0.01s
492490
169 13740.237 10 0.01s
493-
Model status : Optimal
494491
TerminationStatusCode.OPTIMAL
495492
Objective value: 13740.213571429404
496493
[[100. 100. 100. 100. 100.
@@ -510,7 +507,8 @@ <h2>Change the load and solve the model again<a class="headerlink" href="#change
510507
52.85719184 53.28576347 53.7143351 54.14290673]]
511508
</pre></div>
512509
</div>
513-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Simplex iterations: 86
510+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Model status : Optimal
511+
Simplex iterations: 86
514512
QP ASM iterations: 169
515513
Objective value : 1.3740213571e+04
516514
P-D objective error : 1.6699127419e-06

examples/optimal_control_rocket.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -478,9 +478,8 @@ <h2>Implementation<a class="headerlink" href="#implementation" title="Link to th
478478
35 -1.0128334e+00 5.34e-07 3.99e-04 -8.6 8.28e-01 - 1.00e+00 5.00e-01f 2
479479
36 -1.0128334e+00 4.72e-08 1.58e-05 -8.6 3.52e-01 - 1.00e+00 1.00e+00h 1
480480
37 -1.0128334e+00 8.97e-12 3.04e-09 -8.6 1.37e-02 - 1.00e+00 1.00e+00h 1
481-
</pre></div>
482-
</div>
483-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Number of Iterations....: 37
481+
482+
Number of Iterations....: 37
484483

485484
(scaled) (unscaled)
486485
Objective...............: -1.0128333977358319e+00 -1.0128333977358319e+00
@@ -498,7 +497,10 @@ <h2>Implementation<a class="headerlink" href="#implementation" title="Link to th
498497
Number of inequality constraint Jacobian evaluations = 0
499498
Number of Lagrangian Hessian evaluations = 37
500499
Total CPU secs in IPOPT (w/o function evaluations) = 0.353
501-
Total CPU secs in NLP function evaluations = 0.011
500+
Total CPU secs in NLP function evaluation
501+
</pre></div>
502+
</div>
503+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>s = 0.011
502504

503505
EXIT: Optimal Solution Found.
504506
</pre></div>

examples/optimal_power_flow.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -578,8 +578,8 @@ <h2>Implementation<a class="headerlink" href="#implementation" title="Link to th
578578
Number of equality constraint Jacobian evaluations = 19
579579
Number of inequality constraint Jacobian evaluations = 19
580580
Number of Lagrangian Hessian evaluations = 18
581-
Total CPU secs in IPOPT (w/o function evaluations) = 0.006
582-
Total CPU secs in NLP function evaluations = 0.000
581+
Total CPU secs in IPOPT (w/o function evaluations) = 0.007
582+
Total CPU secs in NLP function evaluations = 0.001
583583

584584
EXIT: Optimal Solution Found.
585585
</pre></div>

expression.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,8 @@ <h2>Efficient expression construction<a class="headerlink" href="#efficient-expr
357357
</div>
358358
</div>
359359
<div class="cell_output docutils container">
360-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 4.11 ms, sys: 15 μs, total: 4.12 ms
361-
Wall time: 1.36 ms
360+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 4.12 ms, sys: 12 μs, total: 4.13 ms
361+
Wall time: 1.38 ms
362362
</pre></div>
363363
</div>
364364
</div>
@@ -370,8 +370,8 @@ <h2>Efficient expression construction<a class="headerlink" href="#efficient-expr
370370
</div>
371371
</div>
372372
<div class="cell_output docutils container">
373-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 99.9 ms, sys: 32 μs, total: 100 ms
374-
Wall time: 25.4 ms
373+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 106 ms, sys: 829 μs, total: 106 ms
374+
Wall time: 26.9 ms
375375
</pre></div>
376376
</div>
377377
</div>

getting_started.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -601,9 +601,7 @@ <h2>Let’s build a simple model and solve it<a class="headerlink" href="#let-s-
601601
Bound [0e+00, 0e+00]
602602
RHS [1e+00, 1e+00]
603603
Iteration Objective NullspaceDim
604-
</pre></div>
605-
</div>
606-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 0 2.0000001 0 0.00s
604+
0 2.0000001 0 0.00s
607605
2 0.66666669 1 0.00s
608606
Model status : Optimal
609607
QP ASM iterations: 2

infeasibility.html

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -309,17 +309,7 @@ <h1>Infeasibility Analysis<a class="headerlink" href="#infeasibility-analysis" t
309309
</div>
310310
</div>
311311
<div class="cell_output docutils container">
312-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>No license found. LP size is limited to 10000 variables and 10000 constraints2026-02-13 00:55:44 [INFO] checks license for COPT v8.0.2 20251201
313-
2026-02-13 00:55:44 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
314-
2026-02-13 00:55:44 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.13.12/x64/bin
315-
2026-02-13 00:55:44 [WARN] no license files in HOME folder: /home/runner/copt
316-
2026-02-13 00:55:44 [INFO] empty environment variable: COPT_LICENSE_DIR
317-
2026-02-13 00:55:44 [WARN] no license files in EV &#39;COPT_LICENSE_DIR&#39;:
318-
319-
No license found. Starting COPT with size limitations for non-commercial use
320-
Please apply for a license from www.shanshu.ai/copt
321-
322-
312+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>No license found. LP size is limited to 10000 variables and 10000 constraints
323313
Please apply for a license from www.shanshu.ai/copt
324314

325315
Model fingerprint: 43b22f9c
@@ -338,6 +328,15 @@ <h1>Infeasibility Analysis<a class="headerlink" href="#infeasibility-analysis" t
338328
IIS computation finished (0.001s)
339329
Constraint 1 IIS: True
340330
Constraint 2 IIS: True
331+
2026-02-14 12:16:51 [INFO] checks license for COPT v8.0.2 20251201
332+
2026-02-14 12:16:51 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
333+
2026-02-14 12:16:51 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.13.12/x64/bin
334+
2026-02-14 12:16:51 [WARN] no license files in HOME folder: /home/runner/copt
335+
2026-02-14 12:16:51 [INFO] empty environment variable: COPT_LICENSE_DIR
336+
2026-02-14 12:16:51 [WARN] no license files in EV &#39;COPT_LICENSE_DIR&#39;:
337+
338+
No license found. Starting COPT with size limitations for non-commercial use
339+
Please apply for a license from www.shanshu.ai/copt
341340
</pre></div>
342341
</div>
343342
</div>

nonlinear.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ <h2>Nonlinear constraints and objectives<a class="headerlink" href="#nonlinear-c
499499
Number of equality constraint Jacobian evaluations = 0
500500
Number of inequality constraint Jacobian evaluations = 11
501501
Number of Lagrangian Hessian evaluations = 10
502-
Total CPU secs in IPOPT (w/o function evaluations) = 0.007
502+
Total CPU secs in IPOPT (w/o function evaluations) = 0.005
503503
Total CPU secs in NLP function evaluations = 0.000
504504

505505
EXIT: Optimal Solution Found.
@@ -603,9 +603,8 @@ <h2>Nonlinear constraints and objectives<a class="headerlink" href="#nonlinear-c
603603
12 2.8189506e-09 0.00e+00 8.31e-04 -2.5 3.20e-03 - 1.00e+00 1.00e+00f 1
604604
13 9.6379884e-16 0.00e+00 8.68e-07 -5.7 9.78e-05 - 1.00e+00 1.00e+00f 1
605605
14 3.0814879e-29 0.00e+00 2.02e-13 -8.6 4.65e-08 - 1.00e+00 1.00e+00f 1
606-
</pre></div>
607-
</div>
608-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Number of Iterations....: 14
606+
607+
Number of Iterations....: 14
609608

610609
(scaled) (unscaled)
611610
Objective...............: 3.0814879110195774e-29 3.0814879110195774e-29
@@ -622,7 +621,7 @@ <h2>Nonlinear constraints and objectives<a class="headerlink" href="#nonlinear-c
622621
Number of equality constraint Jacobian evaluations = 0
623622
Number of inequality constraint Jacobian evaluations = 0
624623
Number of Lagrangian Hessian evaluations = 14
625-
Total CPU secs in IPOPT (w/o function evaluations) = 0.002
624+
Total CPU secs in IPOPT (w/o function evaluations) = 0.004
626625
Total CPU secs in NLP function evaluations = 0.000
627626

628627
EXIT: Optimal Solution Found.
@@ -723,8 +722,11 @@ <h2>Mixing nonlinear and linear/quadratic constraints together<a class="headerli
723722
Number of equality constraint Jacobian evaluations = 5
724723
Number of inequality constraint Jacobian evaluations = 0
725724
Number of Lagrangian Hessian evaluations = 4
726-
Total CPU secs in IPOPT (w/o function evaluations) = 0.029
727-
Total CPU secs in NLP function evaluations = 0.001
725+
Total CPU secs in IPOPT (w/o function evaluations) = 0.025
726+
Total CPU secs in NLP function evaluations
727+
</pre></div>
728+
</div>
729+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> = 0.001
728730

729731
EXIT: Optimal Solution Found.
730732
</pre></div>

numpy.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,10 +365,10 @@ <h2>N-queen problem<a class="headerlink" href="#n-queen-problem" title="Link to
365365
Src Proc. InQueue | Leaves Expl. | BestBound BestSol Gap | Cuts InLp Confl. | LpIters Time
366366

367367
J 0 0 0 100.00% -inf 0 Large 0 0 0 0 0.0s
368+
Termination status: TerminationStatusCode.OPTIMAL
368369
1 0 1 100.00% 0 0 0.00% 0 0 0 0 0.0s
369370

370371
Solving report
371-
Termination status: TerminationStatusCode.OPTIMAL
372372
Status Optimal
373373
Primal bound 0
374374
Dual bound 0
@@ -437,7 +437,9 @@ <h2>Built-in functions to add variables and constraints as Numpy <code class="do
437437
<div class="cell_output docutils container">
438438
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Running HiGHS 1.13.1 (git hash: 1d267d9): Copyright (c) 2026 under Apache 2.0 license terms
439439
Using BLAS: OpenBLAS
440-
Hessian has dimension 8 but no nonzeros, so is ignored
440+
</pre></div>
441+
</div>
442+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Hessian has dimension 8 but no nonzeros, so is ignored
441443
LP has 16 rows; 8 cols; 16 nonzeros
442444
Coefficient ranges:
443445
Matrix [1e+00, 1e+00]

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.

0 commit comments

Comments
 (0)