Skip to content

Commit ac56dca

Browse files
committed
Deploying to gh-pages from @ 204dcb6 🚀
1 parent e23277a commit ac56dca

12 files changed

+42
-42
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 09:46:19 [INFO] checks license for COPT v7.2.8 20250516
310-
2025-08-08 09:46:19 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
311-
2025-08-08 09:46:19 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.12.11/x64/bin
312-
2025-08-08 09:46:19 [WARN] no license files in HOME folder: /home/runner/copt
313-
2025-08-08 09:46:19 [INFO] empty environment variable: COPT_LICENSE_DIR
314-
2025-08-08 09:46:19 [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 09:52:58 [INFO] checks license for COPT v7.2.8 20250516
310+
2025-08-08 09:52:58 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
311+
2025-08-08 09:52:58 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.12.11/x64/bin
312+
2025-08-08 09:52:58 [WARN] no license files in HOME folder: /home/runner/copt
313+
2025-08-08 09:52:58 [INFO] empty environment variable: COPT_LICENSE_DIR
314+
2025-08-08 09:52:58 [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 0x7f86acb86870&gt;
389+
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7fed0c956870&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 0x7f86acb86db0&gt;
402+
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7fed0c956db0&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 0x7f86acb86e10&gt;
416+
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7fed0c956e10&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
@@ -490,13 +490,14 @@ <h2>Change the load and solve the model again<a class="headerlink" href="#change
490490
RHS [2e+01, 2e+02]
491491
Iteration Objective NullspaceDim
492492
0 15430.248 0 0.00s
493-
100 14091.031 3 0.01s
493+
100 14091.031 3 0.00s
494494
169 13740.237 10 0.01s
495495
Model status : Optimal
496496
Simplex iterations: 86
497497
QP ASM iterations: 169
498498
Objective value : 1.3740213571e+04
499499
P-D objective error : 1.6699127419e-06
500+
HiGHS run time : 0.01
500501
TerminationStatusCode.OPTIMAL
501502
Objective value: 13740.213571429404
502503
[[100. 100. 100. 100. 100.
@@ -514,7 +515,6 @@ <h2>Change the load and solve the model again<a class="headerlink" href="#change
514515
50. 50. 50. 50. 50.28576204
515516
50.71433367 51.14290531 51.57147694 52.00004857 52.4286202
516517
52.85719184 53.28576347 53.7143351 54.14290673]]
517-
HiGHS run time : 0.01
518518
</pre></div>
519519
</div>
520520
</div>

examples/optimal_control_rocket.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ <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.351
506+
Total CPU secs in IPOPT (w/o function evaluations) = 0.354
507507
Total CPU secs in NLP function evaluations = 0.010
508508

509509
EXIT: Optimal Solution Found.

examples/optimal_power_flow.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -567,9 +567,8 @@ <h2>Implementation<a class="headerlink" href="#implementation" title="Link to th
567567
16 1.7551939e+04 1.54e-08 1.13e-06 -3.8 6.68e-04 - 1.00e+00 1.00e+00f 1
568568
17 1.7551891e+04 1.33e-08 1.02e-06 -5.7 9.92e-04 - 1.00e+00 1.00e+00f 1
569569
18 1.7551891e+04 1.14e-12 1.20e-10 -8.6 1.29e-05 - 1.00e+00 1.00e+00h 1
570-
</pre></div>
571-
</div>
572-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Number of Iterations....: 18
570+
571+
Number of Iterations....: 18
573572

574573
(scaled) (unscaled)
575574
Objective...............: 4.3879727096482060e+02 1.7551890838592823e+04
@@ -586,7 +585,7 @@ <h2>Implementation<a class="headerlink" href="#implementation" title="Link to th
586585
Number of equality constraint Jacobian evaluations = 19
587586
Number of inequality constraint Jacobian evaluations = 19
588587
Number of Lagrangian Hessian evaluations = 18
589-
Total CPU secs in IPOPT (w/o function evaluations) = 0.006
588+
Total CPU secs in IPOPT (w/o function evaluations) = 0.007
590589
Total CPU secs in NLP function evaluations = 0.000
591590

592591
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 708 μs, sys: 0 ns, total: 708 μs
367-
Wall time: 711 μs
366+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 561 μs, sys: 113 μs, total: 674 μs
367+
Wall time: 677 μ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.1 ms, sys: 0 ns, total: 15.1 ms
380-
Wall time: 15 ms
379+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 15.1 ms, sys: 39 μs, total: 15.2 ms
380+
Wall time: 15.1 ms
381381
</pre></div>
382382
</div>
383383
</div>

getting_started.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,9 @@ <h2>Let’s build a simple model and solve it<a class="headerlink" href="#let-s-
557557
</div>
558558
<div class="cell_output docutils container">
559559
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>QP has 1 rows; 2 cols; 2 matrix nonzeros; 2 Hessian nonzeros
560-
Coefficient ranges:
560+
</pre></div>
561+
</div>
562+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Coefficient ranges:
561563
Matrix [1e+00, 1e+00]
562564
Cost [0e+00, 0e+00]
563565
Bound [0e+00, 0e+00]

infeasibility.html

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

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

model.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -424,14 +424,12 @@ <h2>Inspect and customize the model<a class="headerlink" href="#inspect-and-cust
424424
Iteration Objective NullspaceDim
425425
0 1 0 0.00s
426426
2 0.50000002 1 0.00s
427-
Objective value: 0.49999999999999994
428-
</pre></div>
429-
</div>
430-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Model status : Optimal
427+
Model status : Optimal
431428
QP ASM iterations: 2
432429
Objective value : 5.0000000000e-01
433430
P-D objective error : 2.4999999473e-08
434431
HiGHS run time : 0.00
432+
Objective value: 0.49999999999999994
435433
</pre></div>
436434
</div>
437435
</div>

nonlinear.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,9 @@ <h2>Nonlinear constraints and objectives<a class="headerlink" href="#nonlinear-c
608608
10 2.3797236e-04 0.00e+00 2.19e-01 -1.7 5.09e-02 - 1.00e+00 1.00e+00f 1
609609
11 4.9267371e-06 0.00e+00 5.95e-02 -1.7 2.53e-02 - 1.00e+00 1.00e+00f 1
610610
12 2.8189505e-09 0.00e+00 8.31e-04 -2.5 3.20e-03 - 1.00e+00 1.00e+00f 1
611-
13 9.9920072e-16 0.00e+00 8.68e-07 -5.7 9.78e-05 - 1.00e+00 1.00e+00f 1
611+
</pre></div>
612+
</div>
613+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 13 9.9920072e-16 0.00e+00 8.68e-07 -5.7 9.78e-05 - 1.00e+00 1.00e+00f 1
612614
14 0.0000000e+00 0.00e+00 1.57e-13 -8.6 4.65e-08 - 1.00e+00 1.00e+00f 1
613615

614616
Number of Iterations....: 14
@@ -628,7 +630,7 @@ <h2>Nonlinear constraints and objectives<a class="headerlink" href="#nonlinear-c
628630
Number of equality constraint Jacobian evaluations = 0
629631
Number of inequality constraint Jacobian evaluations = 0
630632
Number of Lagrangian Hessian evaluations = 14
631-
Total CPU secs in IPOPT (w/o function evaluations) = 0.007
633+
Total CPU secs in IPOPT (w/o function evaluations) = 0.004
632634
Total CPU secs in NLP function evaluations = 0.000
633635

634636
EXIT: Optimal Solution Found.
@@ -707,9 +709,7 @@ <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-
</pre></div>
711-
</div>
712-
<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
712+
1 3.5000000e+02 0.00e+00 0.00e+00 -1.7 0.00e+00 - 1.00e+00 1.00e+00 0
713713
2 3.5000000e+02 0.00e+00 0.00e+00 -3.8 0.00e+00 -2.0 1.00e+00 1.00e+00T 0
714714
</pre></div>
715715
</div>
@@ -733,7 +733,7 @@ <h2>Mixing nonlinear and linear/quadratic constraints together<a class="headerli
733733
Number of equality constraint Jacobian evaluations = 5
734734
Number of inequality constraint Jacobian evaluations = 0
735735
Number of Lagrangian Hessian evaluations = 4
736-
Total CPU secs in IPOPT (w/o function evaluations) = 0.028
736+
Total CPU secs in IPOPT (w/o function evaluations) = 0.027
737737
Total CPU secs in NLP function evaluations = 0.001
738738

739739
EXIT: Optimal Solution Found.

numpy.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,6 @@ <h2>N-queen problem<a class="headerlink" href="#n-queen-problem" title="Link to
362362
270 nonzeros
363363

364364
Src: B =&gt; Branching; C =&gt; Central rounding; F =&gt; Feasibility pump; J =&gt; Feasibility jump;
365-
Termination status: TerminationStatusCode.OPTIMAL
366365
H =&gt; Heuristic; L =&gt; Sub-MIP; P =&gt; Empty MIP; R =&gt; Randomized rounding; Z =&gt; ZI Round;
367366
I =&gt; Shifting; S =&gt; Solve LP; T =&gt; Evaluate node; U =&gt; Unbounded; X =&gt; User solution;
368367
z =&gt; Trivial zero; l =&gt; Trivial lower; u =&gt; Trivial upper; p =&gt; Trivial point
@@ -372,8 +371,10 @@ <h2>N-queen problem<a class="headerlink" href="#n-queen-problem" title="Link to
372371

373372
J 0 0 0 100.00% -inf 0 Large 0 0 0 0 0.0s
374373
1 0 1 100.00% 0 0 0.00% 0 0 0 0 0.0s
375-
376-
Solving report
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>Solving report
377378
Status Optimal
378379
Primal bound 0
379380
Dual bound 0

0 commit comments

Comments
 (0)