Skip to content

Commit b4c72ef

Browse files
committed
Deploying to gh-pages from @ 11c55e9 🚀
1 parent 6aaa2d3 commit b4c72ef

File tree

10 files changed

+50
-46
lines changed

10 files changed

+50
-46
lines changed

constraint.html

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

316316
No license found. Starting COPT with size limitations for non-commercial use
317317
Please apply for a license from www.shanshu.ai/copt
@@ -386,7 +386,7 @@ <h2>Linear Constraint<a class="headerlink" href="#linear-constraint" title="Link
386386
</div>
387387
</div>
388388
<div class="cell_output docutils container">
389-
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7efe04856870&gt;
389+
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7f8acc23a870&gt;
390390
</pre></div>
391391
</div>
392392
</div>
@@ -399,7 +399,7 @@ <h2>Linear Constraint<a class="headerlink" href="#linear-constraint" title="Link
399399
</div>
400400
</div>
401401
<div class="cell_output docutils container">
402-
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7efe04856db0&gt;
402+
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7f8acc23adb0&gt;
403403
</pre></div>
404404
</div>
405405
</div>
@@ -413,7 +413,7 @@ <h2>Linear Constraint<a class="headerlink" href="#linear-constraint" title="Link
413413
</div>
414414
</div>
415415
<div class="cell_output docutils container">
416-
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7efe04856e10&gt;
416+
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7f8acc23ae10&gt;
417417
</pre></div>
418418
</div>
419419
</div>

examples/economic_dispatch.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,14 +418,14 @@ <h2>Implementation<a class="headerlink" href="#implementation" title="Link to th
418418
0 14328.52 0 0.00s
419419
100 12722.021 1 0.00s
420420
108 12684.021 0 0.00s
421+
TerminationStatusCode.OPTIMAL
422+
Objective value: 12684.0
421423
Model status : Optimal
422424
Simplex iterations: 63
423425
QP ASM iterations: 108
424426
Objective value : 1.2684000000e+04
425427
P-D objective error : 1.6461008020e-06
426428
HiGHS run time : 0.00
427-
TerminationStatusCode.OPTIMAL
428-
Objective value: 12684.0
429429
</pre></div>
430430
</div>
431431
</div>

examples/optimal_control_rocket.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -503,11 +503,8 @@ <h2>Implementation<a class="headerlink" href="#implementation" title="Link to th
503503
Number of equality constraint Jacobian evaluations = 38
504504
Number of inequality constraint Jacobian evaluations = 0
505505
Number of Lagrangian Hessian evaluations = 37
506-
Total CPU secs in IPOPT (w/o function evaluations) = 0.349
507-
Total CPU secs in NLP function evaluation
508-
</pre></div>
509-
</div>
510-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>s = 0.010
506+
Total CPU secs in IPOPT (w/o function evaluations) = 0.357
507+
Total CPU secs in NLP function evaluations = 0.010
511508

512509
EXIT: Optimal Solution Found.
513510
</pre></div>

examples/optimal_power_flow.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ <h2>Implementation<a class="headerlink" href="#implementation" title="Link to th
585585
Number of equality constraint Jacobian evaluations = 19
586586
Number of inequality constraint Jacobian evaluations = 19
587587
Number of Lagrangian Hessian evaluations = 18
588-
Total CPU secs in IPOPT (w/o function evaluations) = 0.006
588+
Total CPU secs in IPOPT (w/o function evaluations) = 0.005
589589
Total CPU secs in NLP function evaluations = 0.000
590590

591591
EXIT: Optimal Solution Found.

expression.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,8 @@ <h2>Efficient expression construction<a class="headerlink" href="#efficient-expr
363363
</div>
364364
</div>
365365
<div class="cell_output docutils container">
366-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 638 μs, sys: 84 μs, total: 722 μs
367-
Wall time: 725 μs
366+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 564 μs, sys: 103 μs, total: 667 μs
367+
Wall time: 670 μs
368368
</pre></div>
369369
</div>
370370
</div>
@@ -376,8 +376,8 @@ <h2>Efficient expression construction<a class="headerlink" href="#efficient-expr
376376
</div>
377377
</div>
378378
<div class="cell_output docutils container">
379-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 15.2 ms, sys: 21 μs, total: 15.2 ms
380-
Wall time: 15.1 ms
379+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 14.9 ms, sys: 0 ns, total: 14.9 ms
380+
Wall time: 14.9 ms
381381
</pre></div>
382382
</div>
383383
</div>

infeasibility.html

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -316,16 +316,12 @@ <h1>Infeasibility Analysis<a class="headerlink" href="#infeasibility-analysis" t
316316
</div>
317317
</div>
318318
<div class="cell_output docutils container">
319-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Constraint 1 IIS: True
320-
Constraint 2 IIS: True
321-
</pre></div>
322-
</div>
323-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>2025-08-08 02:13:08 [INFO] checks license for COPT v7.2.8 20250516
324-
2025-08-08 02:13:08 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
325-
2025-08-08 02:13:08 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.12.11/x64/bin
326-
2025-08-08 02:13:08 [WARN] no license files in HOME folder: /home/runner/copt
327-
2025-08-08 02:13:08 [INFO] empty environment variable: COPT_LICENSE_DIR
328-
2025-08-08 02:13:08 [WARN] no license files in EV &#39;COPT_LICENSE_DIR&#39;:
319+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Constraint 1 IIS: True2025-08-08 02:23:37 [INFO] checks license for COPT v7.2.8 20250516
320+
2025-08-08 02:23:37 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
321+
2025-08-08 02:23:37 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.12.11/x64/bin
322+
2025-08-08 02:23:37 [WARN] no license files in HOME folder: /home/runner/copt
323+
2025-08-08 02:23:37 [INFO] empty environment variable: COPT_LICENSE_DIR
324+
2025-08-08 02:23:37 [WARN] no license files in EV &#39;COPT_LICENSE_DIR&#39;:
329325

330326
No license found. Starting COPT with size limitations for non-commercial use
331327
Please apply for a license from www.shanshu.ai/copt
@@ -347,6 +343,8 @@ <h1>Infeasibility Analysis<a class="headerlink" href="#infeasibility-analysis" t
347343

348344
IIS summary: 2 rows, 0 bounds of columns
349345
IIS computation finished (0.001s)
346+
347+
Constraint 2 IIS: True
350348
</pre></div>
351349
</div>
352350
</div>

nonlinear.html

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,9 @@ <h2>Nonlinear constraints and objectives<a class="headerlink" href="#nonlinear-c
486486
7 5.4427137e+00 0.00e+00 3.36e-03 -2.5 7.95e-02 - 9.84e-01 1.00e+00f 1
487487
8 5.4366982e+00 0.00e+00 4.18e-06 -3.8 7.75e-03 - 1.00e+00 1.00e+00h 1
488488
9 5.4365655e+00 0.00e+00 1.91e-08 -5.7 1.81e-04 - 1.00e+00 1.00e+00h 1
489-
iter objective inf_pr inf_du lg(mu) ||d|| lg(rg) alpha_du alpha_pr ls
489+
</pre></div>
490+
</div>
491+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>iter objective inf_pr inf_du lg(mu) ||d|| lg(rg) alpha_du alpha_pr ls
490492
10 5.4365636e+00 0.00e+00 3.26e-12 -8.6 2.72e-06 - 1.00e+00 1.00e+00h 1
491493

492494
Number of Iterations....: 10
@@ -506,7 +508,7 @@ <h2>Nonlinear constraints and objectives<a class="headerlink" href="#nonlinear-c
506508
Number of equality constraint Jacobian evaluations = 0
507509
Number of inequality constraint Jacobian evaluations = 11
508510
Number of Lagrangian Hessian evaluations = 10
509-
Total CPU secs in IPOPT (w/o function evaluations) = 0.004
511+
Total CPU secs in IPOPT (w/o function evaluations) = 0.003
510512
Total CPU secs in NLP function evaluations = 0.000
511513

512514
EXIT: Optimal Solution Found.
@@ -707,12 +709,19 @@ <h2>Mixing nonlinear and linear/quadratic constraints together<a class="headerli
707709

708710
iter objective inf_pr inf_du lg(mu) ||d|| lg(rg) alpha_du alpha_pr ls
709711
0 3.5000000e+02 0.00e+00 0.00e+00 -1.0 0.00e+00 - 0.00e+00 0.00e+00 0
710-
1 3.5000000e+02 0.00e+00 0.00e+00 -1.7 0.00e+00 - 1.00e+00 1.00e+00 0
711-
2 3.5000000e+02 0.00e+00 0.00e+00 -3.8 0.00e+00 -2.0 1.00e+00 1.00e+00T 0
712-
3 3.5000000e+02 0.00e+00 0.00e+00 -5.7 0.00e+00 0.2 1.00e+00 1.00e+00T 0
712+
</pre></div>
713+
</div>
714+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 1 3.5000000e+02 0.00e+00 0.00e+00 -1.7 0.00e+00 - 1.00e+00 1.00e+00 0
715+
</pre></div>
716+
</div>
717+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 2 3.5000000e+02 0.00e+00 0.00e+00 -3.8 0.00e+00 -2.0 1.00e+00 1.00e+00T 0
718+
</pre></div>
719+
</div>
720+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 3 3.5000000e+02 0.00e+00 0.00e+00 -5.7 0.00e+00 0.2 1.00e+00 1.00e+00T 0
713721
4 3.5000000e+02 0.00e+00 0.00e+00 -8.6 0.00e+00 -0.2 1.00e+00 1.00e+00T 0
714-
715-
Number of Iterations....: 4
722+
</pre></div>
723+
</div>
724+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Number of Iterations....: 4
716725

717726
(scaled) (unscaled)
718727
Objective...............: 3.5000000000000318e+02 3.5000000000000318e+02
@@ -729,7 +738,7 @@ <h2>Mixing nonlinear and linear/quadratic constraints together<a class="headerli
729738
Number of equality constraint Jacobian evaluations = 5
730739
Number of inequality constraint Jacobian evaluations = 0
731740
Number of Lagrangian Hessian evaluations = 4
732-
Total CPU secs in IPOPT (w/o function evaluations) = 0.025
741+
Total CPU secs in IPOPT (w/o function evaluations) = 0.027
733742
Total CPU secs in NLP function evaluations = 0.001
734743

735744
EXIT: Optimal Solution Found.

numpy.html

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

372372
J 0 0 0 100.00% -inf 0 Large 0 0 0 0 0.0s
373-
Termination status: TerminationStatusCode.OPTIMAL
374-
</pre></div>
375-
</div>
376-
<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
373+
1 0 1 100.00% 0 0 0.00% 0 0 0 0 0.0s
377374

378375
Solving report
379376
Status Optimal
@@ -397,6 +394,7 @@ <h2>N-queen problem<a class="headerlink" href="#n-queen-problem" title="Link to
397394
0 (strong br.)
398395
0 (separation)
399396
0 (heuristics)
397+
Termination status: TerminationStatusCode.OPTIMAL
400398
</pre></div>
401399
</div>
402400
</div>
@@ -449,7 +447,9 @@ <h2>Built-in functions to add variables and constraints as Numpy <code class="do
449447
</div>
450448
<div class="cell_output docutils container">
451449
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Running HiGHS 1.11.0 (git hash: 364c83a): Copyright (c) 2025 HiGHS under MIT licence terms
452-
Hessian has dimension 8 but no nonzeros, so is ignored
450+
</pre></div>
451+
</div>
452+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Hessian has dimension 8 but no nonzeros, so is ignored
453453
LP has 16 rows; 8 cols; 16 nonzeros
454454
Coefficient ranges:
455455
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.

structure.html

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

407407
J 0 0 0 100.00% -inf 0 Large 0 0 0 0 0.0s
408+
Termination status: TerminationStatusCode.OPTIMAL
408409
1 0 1 100.00% 0 0 0.00% 0 0 0 0 0.0s
409410

410411
Solving report
@@ -429,7 +430,6 @@ <h1>Building Bigger Optimization Model<a class="headerlink" href="#building-bigg
429430
0 (strong br.)
430431
0 (separation)
431432
0 (heuristics)
432-
Termination status: TerminationStatusCode.OPTIMAL
433433
</pre></div>
434434
</div>
435435
</div>

0 commit comments

Comments
 (0)