Skip to content

Commit 18dee29

Browse files
committed
Deploying to gh-pages from @ eb25c1e 🚀
1 parent cf49621 commit 18dee29

11 files changed

+39
-41
lines changed

constraint.html

+7-7
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-03-19 06:57:19 [INFO] checks license for COPT v7.2.4 20241206
311-
2025-03-19 06:57:19 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
312-
2025-03-19 06:57:19 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.12.9/x64/bin
313-
2025-03-19 06:57:19 [WARN] no license files in HOME folder: /home/runner/copt
314-
2025-03-19 06:57:19 [INFO] empty environment variable: COPT_LICENSE_DIR
315-
2025-03-19 06:57:19 [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-03-20 16:04:42 [INFO] checks license for COPT v7.2.4 20241206
311+
2025-03-20 16:04:42 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
312+
2025-03-20 16:04:42 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.12.9/x64/bin
313+
2025-03-20 16:04:42 [WARN] no license files in HOME folder: /home/runner/copt
314+
2025-03-20 16:04:42 [INFO] empty environment variable: COPT_LICENSE_DIR
315+
2025-03-20 16:04:42 [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 0x7fe090008930&gt;
627+
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7f96a5720b30&gt;
628628
</pre></div>
629629
</div>
630630
</div>

container.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -498,9 +498,7 @@ <h2>Building a model with <code class="docutils literal notranslate"><span class
498498
200 3.3333335 100 0.00s
499499
300 2.3611112 150 0.01s
500500
360 2.0000001 180 0.01s
501-
</pre></div>
502-
</div>
503-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Model status : Optimal
501+
Model status : Optimal
504502
QP ASM iterations: 360
505503
Objective value : 2.0000000000e+00
506504
HiGHS run time : 0.01

examples/economic_dispatch.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -420,11 +420,11 @@ <h2>Implementation<a class="headerlink" href="#implementation" title="Link to th
420420
108 12684.021 0 0.00s
421421
Model status : Optimal
422422
Simplex iterations: 63
423+
TerminationStatusCode.OPTIMAL
424+
Objective value: 12684.0
423425
QP ASM iterations: 108
424426
Objective value : 1.2684000000e+04
425427
HiGHS run time : 0.00
426-
TerminationStatusCode.OPTIMAL
427-
Objective value: 12684.0
428428
</pre></div>
429429
</div>
430430
</div>
@@ -488,7 +488,7 @@ <h2>Change the load and solve the model again<a class="headerlink" href="#change
488488
RHS [2e+01, 2e+02]
489489
Iteration Objective NullspaceDim
490490
0 15430.248 0 0.00s
491-
100 14091.031 3 0.00s
491+
100 14091.031 3 0.01s
492492
169 13740.237 10 0.01s
493493
Model status : Optimal
494494
Simplex iterations: 86

examples/optimal_control_rocket.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ <h2>Implementation<a class="headerlink" href="#implementation" title="Link to th
480480
Number of equality constraint Jacobian evaluations = 24
481481
Number of inequality constraint Jacobian evaluations = 0
482482
Number of Lagrangian Hessian evaluations = 23
483-
Total CPU secs in IPOPT (w/o function evaluations) = 0.118
483+
Total CPU secs in IPOPT (w/o function evaluations) = 0.117
484484
Total CPU secs in NLP function evaluations = 0.005
485485

486486
EXIT: Optimal Solution Found.

examples/optimal_power_flow.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -608,8 +608,8 @@ <h2>Implementation<a class="headerlink" href="#implementation" title="Link to th
608608
Number of equality constraint Jacobian evaluations = 19
609609
Number of inequality constraint Jacobian evaluations = 19
610610
Number of Lagrangian Hessian evaluations = 18
611-
Total CPU secs in IPOPT (w/o function evaluations) = 0.010
612-
Total CPU secs in NLP function evaluations = 0.001
611+
Total CPU secs in IPOPT (w/o function evaluations) = 0.006
612+
Total CPU secs in NLP function evaluations = 0.000
613613

614614
EXIT: Optimal Solution Found.
615615
</pre></div>

expression.html

+4-4
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 716 μs, sys: 0 ns, total: 716 μs
368-
Wall time: 720 μs
367+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 735 μs, sys: 0 ns, total: 735 μs
368+
Wall time: 737 μ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 20.3 ms, sys: 18 μs, total: 20.3 ms
381-
Wall time: 20.1 ms
380+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 20.1 ms, sys: 22 μs, total: 20.1 ms
381+
Wall time: 19.9 ms
382382
</pre></div>
383383
</div>
384384
</div>

infeasibility.html

+6-6
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-03-19 06:57:30 [INFO] checks license for COPT v7.2.4 20241206
321-
2025-03-19 06:57:30 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
322-
2025-03-19 06:57:30 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.12.9/x64/bin
323-
2025-03-19 06:57:30 [WARN] no license files in HOME folder: /home/runner/copt
324-
2025-03-19 06:57:30 [INFO] empty environment variable: COPT_LICENSE_DIR
325-
2025-03-19 06:57:30 [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-03-20 16:04:50 [INFO] checks license for COPT v7.2.4 20241206
321+
2025-03-20 16:04:50 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
322+
2025-03-20 16:04:50 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.12.9/x64/bin
323+
2025-03-20 16:04:50 [WARN] no license files in HOME folder: /home/runner/copt
324+
2025-03-20 16:04:50 [INFO] empty environment variable: COPT_LICENSE_DIR
325+
2025-03-20 16:04:50 [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

+1-1
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,8 @@ <h2>Inspect and customize the model<a class="headerlink" href="#inspect-and-cust
422422
Bound [1e+00, 1e+00]
423423
RHS [1e+00, 1e+00]
424424
Iteration Objective NullspaceDim
425-
Objective value: 0.49999999999999994
426425
0 1 0 0.00s
426+
Objective value: 0.49999999999999994
427427
2 0.50000002 1 0.00s
428428
Model status : Optimal
429429
QP ASM iterations: 2

nonlinear.html

+9-11
Original file line numberDiff line numberDiff line change
@@ -532,9 +532,7 @@ <h2>Nonlinear constraints and objectives<a class="headerlink" href="#nonlinear-c
532532
4 5.5678044e+00 0.00e+00 1.11e+01 -1.0 1.24e+00 - 9.72e-01 1.00e+00H 1
533533
5 5.4931736e+00 0.00e+00 9.32e+00 -1.0 2.80e-01 1.5 1.00e+00 1.00e+00f 1
534534
6 5.4953247e+00 0.00e+00 2.96e-02 -1.0 5.50e-03 - 1.00e+00 1.00e+00h 1
535-
</pre></div>
536-
</div>
537-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 7 5.4427137e+00 0.00e+00 3.36e-03 -2.5 7.95e-02 - 9.84e-01 1.00e+00f 1
535+
7 5.4427137e+00 0.00e+00 3.36e-03 -2.5 7.95e-02 - 9.84e-01 1.00e+00f 1
538536
8 5.4366982e+00 0.00e+00 4.18e-06 -3.8 7.75e-03 - 1.00e+00 1.00e+00h 1
539537
9 5.4365655e+00 0.00e+00 1.91e-08 -5.7 1.81e-04 - 1.00e+00 1.00e+00h 1
540538
iter objective inf_pr inf_du lg(mu) ||d|| lg(rg) alpha_du alpha_pr ls
@@ -557,7 +555,7 @@ <h2>Nonlinear constraints and objectives<a class="headerlink" href="#nonlinear-c
557555
Number of equality constraint Jacobian evaluations = 0
558556
Number of inequality constraint Jacobian evaluations = 11
559557
Number of Lagrangian Hessian evaluations = 10
560-
Total CPU secs in IPOPT (w/o function evaluations) = 0.004
558+
Total CPU secs in IPOPT (w/o function evaluations) = 0.008
561559
Total CPU secs in NLP function evaluations = 0.000
562560

563561
EXIT: Optimal Solution Found.
@@ -681,8 +679,9 @@ <h2>Nonlinear constraints and objectives<a class="headerlink" href="#nonlinear-c
681679
12 2.8189505e-09 0.00e+00 8.31e-04 -2.5 3.20e-03 - 1.00e+00 1.00e+00f 1
682680
13 1.0095040e-15 0.00e+00 8.68e-07 -5.7 9.78e-05 - 1.00e+00 1.00e+00f 1
683681
14 1.3288608e-28 0.00e+00 2.02e-13 -8.6 4.65e-08 - 1.00e+00 1.00e+00f 1
684-
685-
Number of Iterations....: 14
682+
</pre></div>
683+
</div>
684+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Number of Iterations....: 14
686685

687686
(scaled) (unscaled)
688687
Objective...............: 1.3288608467480825e-28 1.3288608467480825e-28
@@ -699,7 +698,7 @@ <h2>Nonlinear constraints and objectives<a class="headerlink" href="#nonlinear-c
699698
Number of equality constraint Jacobian evaluations = 0
700699
Number of inequality constraint Jacobian evaluations = 0
701700
Number of Lagrangian Hessian evaluations = 14
702-
Total CPU secs in IPOPT (w/o function evaluations) = 0.003
701+
Total CPU secs in IPOPT (w/o function evaluations) = 0.002
703702
Total CPU secs in NLP function evaluations = 0.000
704703

705704
EXIT: Optimal Solution Found.
@@ -786,9 +785,8 @@ <h2>Mixing nonlinear and linear/quadratic constraints together<a class="headerli
786785
2 3.5000000e+02 0.00e+00 0.00e+00 -3.8 0.00e+00 -2.0 1.00e+00 1.00e+00T 0
787786
3 3.5000000e+02 0.00e+00 0.00e+00 -5.7 0.00e+00 0.2 1.00e+00 1.00e+00T 0
788787
4 3.5000000e+02 0.00e+00 0.00e+00 -8.6 0.00e+00 -0.2 1.00e+00 1.00e+00T 0
789-
</pre></div>
790-
</div>
791-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Number of Iterations....: 4
788+
789+
Number of Iterations....: 4
792790

793791
(scaled) (unscaled)
794792
Objective...............: 3.5000000000000318e+02 3.5000000000000318e+02
@@ -805,7 +803,7 @@ <h2>Mixing nonlinear and linear/quadratic constraints together<a class="headerli
805803
Number of equality constraint Jacobian evaluations = 5
806804
Number of inequality constraint Jacobian evaluations = 0
807805
Number of Lagrangian Hessian evaluations = 4
808-
Total CPU secs in IPOPT (w/o function evaluations) = 0.025
806+
Total CPU secs in IPOPT (w/o function evaluations) = 0.022
809807
Total CPU secs in NLP function evaluations = 0.001
810808

811809
EXIT: Optimal Solution Found.

numpy.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ <h2>N-queen problem<a class="headerlink" href="#n-queen-problem" title="Link to
384384
0 (bound viol.)
385385
0 (int. viol.)
386386
0 (row viol.)
387-
Timing 0.07 (total)
387+
Timing 0.08 (total)
388388
0.00 (presolve)
389389
0.00 (solve)
390390
0.00 (postsolve)
@@ -451,7 +451,9 @@ <h2>Built-in functions to add variables and constraints as Numpy <code class="do
451451
</pre></div>
452452
</div>
453453
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Hessian has dimension 8 but no nonzeros, so is ignored
454-
Coefficient ranges:
454+
</pre></div>
455+
</div>
456+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Coefficient ranges:
455457
Matrix [1e+00, 1e+00]
456458
Cost [1e+00, 1e+00]
457459
Bound [0e+00, 0e+00]

searchindex.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)