Skip to content

Commit 1789824

Browse files
committed
Deploying to gh-pages from @ 2cedf6b 🚀
1 parent c57935a commit 1789824

12 files changed

+52
-62
lines changed

constraint.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -297,12 +297,12 @@ <h1>Constraint<a class="headerlink" href="#constraint" title="Link to this headi
297297
</div>
298298
</div>
299299
<div class="cell_output docutils container">
300-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>2025-12-11 12:46:02 [INFO] checks license for COPT v8.0.2 20251201
301-
2025-12-11 12:46:02 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
302-
2025-12-11 12:46:02 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.12.12/x64/bin
303-
2025-12-11 12:46:02 [WARN] no license files in HOME folder: /home/runner/copt
304-
2025-12-11 12:46:02 [INFO] empty environment variable: COPT_LICENSE_DIR
305-
2025-12-11 12:46:02 [WARN] no license files in EV &#39;COPT_LICENSE_DIR&#39;:
300+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>2025-12-11 12:53:54 [INFO] checks license for COPT v8.0.2 20251201
301+
2025-12-11 12:53:54 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
302+
2025-12-11 12:53:54 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.12.12/x64/bin
303+
2025-12-11 12:53:54 [WARN] no license files in HOME folder: /home/runner/copt
304+
2025-12-11 12:53:54 [INFO] empty environment variable: COPT_LICENSE_DIR
305+
2025-12-11 12:53:54 [WARN] no license files in EV &#39;COPT_LICENSE_DIR&#39;:
306306

307307
No license found. Starting COPT with size limitations for non-commercial use
308308
Please apply for a license from www.shanshu.ai/copt
@@ -377,7 +377,7 @@ <h2>Linear Constraint<a class="headerlink" href="#linear-constraint" title="Link
377377
</div>
378378
</div>
379379
<div class="cell_output docutils container">
380-
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7fe2489633f0&gt;
380+
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7fc6105733f0&gt;
381381
</pre></div>
382382
</div>
383383
</div>
@@ -390,7 +390,7 @@ <h2>Linear Constraint<a class="headerlink" href="#linear-constraint" title="Link
390390
</div>
391391
</div>
392392
<div class="cell_output docutils container">
393-
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7fe2489638f0&gt;
393+
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7fc6105738f0&gt;
394394
</pre></div>
395395
</div>
396396
</div>
@@ -404,7 +404,7 @@ <h2>Linear Constraint<a class="headerlink" href="#linear-constraint" title="Link
404404
</div>
405405
</div>
406406
<div class="cell_output docutils container">
407-
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7fe248963930&gt;
407+
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7fc610573930&gt;
408408
</pre></div>
409409
</div>
410410
</div>

container.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ <h2>Building a model with <code class="docutils literal notranslate"><span class
486486
RHS [1e+00, 1e+00]
487487
Iteration Objective NullspaceDim
488488
0 20.000001 0 0.00s
489-
100 5.8333336 50 0.01s
489+
100 5.8333336 50 0.00s
490490
200 3.3333335 100 0.01s
491491
300 2.3611112 150 0.01s
492492
360 2.0000001 180 0.01s

examples/economic_dispatch.html

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -408,20 +408,18 @@ <h2>Implementation<a class="headerlink" href="#implementation" title="Link to th
408408
RHS [2e+01, 2e+02]
409409
Iteration Objective NullspaceDim
410410
0 14328.52 0 0.00s
411-
100 12722.021 1 0.01s
412-
108 12684.021 0 0.01s
411+
100 12722.021 1 0.00s
412+
108 12684.021 0 0.00s
413413
Model status : Optimal
414414
Simplex iterations: 63
415415
QP ASM iterations: 108
416416
Objective value : 1.2684000000e+04
417+
P-D objective error : 1.6461008020e-06
418+
HiGHS run time : 0.00
417419
TerminationStatusCode.OPTIMAL
418420
Objective value: 12684.0
419421
</pre></div>
420422
</div>
421-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>P-D objective error : 1.6461008020e-06
422-
HiGHS run time : 0.01
423-
</pre></div>
424-
</div>
425423
</div>
426424
</div>
427425
<p>The optimal value of decision variables can be queried via <code class="docutils literal notranslate"><span class="pre">get_value</span></code> function.</p>
@@ -485,6 +483,14 @@ <h2>Change the load and solve the model again<a class="headerlink" href="#change
485483
RHS [2e+01, 2e+02]
486484
Iteration Objective NullspaceDim
487485
0 15430.248 0 0.01s
486+
100 14091.031 3 0.01s
487+
169 13740.237 10 0.01s
488+
Model status : Optimal
489+
Simplex iterations: 86
490+
QP ASM iterations: 169
491+
Objective value : 1.3740213571e+04
492+
P-D objective error : 1.6699127419e-06
493+
HiGHS run time : 0.01
488494
TerminationStatusCode.OPTIMAL
489495
Objective value: 13740.213571429404
490496
[[100. 100. 100. 100. 100.
@@ -504,16 +510,6 @@ <h2>Change the load and solve the model again<a class="headerlink" href="#change
504510
52.85719184 53.28576347 53.7143351 54.14290673]]
505511
</pre></div>
506512
</div>
507-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 100 14091.031 3 0.01s
508-
169 13740.237 10 0.01s
509-
Model status : Optimal
510-
Simplex iterations: 86
511-
QP ASM iterations: 169
512-
Objective value : 1.3740213571e+04
513-
P-D objective error : 1.6699127419e-06
514-
HiGHS run time : 0.01
515-
</pre></div>
516-
</div>
517513
</div>
518514
</div>
519515
</section>

examples/optimal_control_rocket.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ <h2>Implementation<a class="headerlink" href="#implementation" title="Link to th
494494
Number of equality constraint Jacobian evaluations = 38
495495
Number of inequality constraint Jacobian evaluations = 0
496496
Number of Lagrangian Hessian evaluations = 37
497-
Total CPU secs in IPOPT (w/o function evaluations) = 0.352
497+
Total CPU secs in IPOPT (w/o function evaluations) = 0.351
498498
Total CPU secs in NLP function evaluation
499499
</pre></div>
500500
</div>

examples/optimal_power_flow.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -576,11 +576,8 @@ <h2>Implementation<a class="headerlink" href="#implementation" title="Link to th
576576
Number of equality constraint Jacobian evaluations = 19
577577
Number of inequality constraint Jacobian evaluations = 19
578578
Number of Lagrangian Hessian evaluations = 18
579-
Total CPU secs in IPOPT (w/o function evaluations) = 0.007
580-
Total CPU secs in NLP function evaluati
581-
</pre></div>
582-
</div>
583-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>ons = 0.001
579+
Total CPU secs in IPOPT (w/o function evaluations) = 0.008
580+
Total CPU secs in NLP function evaluations = 0.001
584581

585582
EXIT: Optimal Solution Found.
586583
</pre></div>

expression.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ <h2>Efficient expression construction<a class="headerlink" href="#efficient-expr
354354
</div>
355355
</div>
356356
<div class="cell_output docutils container">
357-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 705 μs, sys: 0 ns, total: 705 μs
358-
Wall time: 709 μs
357+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 699 μs, sys: 0 ns, total: 699 μs
358+
Wall time: 703 μs
359359
</pre></div>
360360
</div>
361361
</div>
@@ -367,8 +367,8 @@ <h2>Efficient expression construction<a class="headerlink" href="#efficient-expr
367367
</div>
368368
</div>
369369
<div class="cell_output docutils container">
370-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 15.8 ms, sys: 0 ns, total: 15.8 ms
371-
Wall time: 15.5 ms
370+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 15.5 ms, sys: 0 ns, total: 15.5 ms
371+
Wall time: 15.3 ms
372372
</pre></div>
373373
</div>
374374
</div>

infeasibility.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -307,12 +307,12 @@ <h1>Infeasibility Analysis<a class="headerlink" href="#infeasibility-analysis" t
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>No license found. LP size is limited to 10000 variables and 10000 constraints2025-12-11 12:46:11 [INFO] checks license for COPT v8.0.2 20251201
311-
2025-12-11 12:46:11 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
312-
2025-12-11 12:46:11 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.12.12/x64/bin
313-
2025-12-11 12:46:11 [WARN] no license files in HOME folder: /home/runner/copt
314-
2025-12-11 12:46:11 [INFO] empty environment variable: COPT_LICENSE_DIR
315-
2025-12-11 12:46:11 [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>No license found. LP size is limited to 10000 variables and 10000 constraints2025-12-11 12:54:04 [INFO] checks license for COPT v8.0.2 20251201
311+
2025-12-11 12:54:04 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
312+
2025-12-11 12:54:04 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.12.12/x64/bin
313+
2025-12-11 12:54:04 [WARN] no license files in HOME folder: /home/runner/copt
314+
2025-12-11 12:54:04 [INFO] empty environment variable: COPT_LICENSE_DIR
315+
2025-12-11 12:54:04 [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

model.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,8 @@ <h2>Inspect and customize the model<a class="headerlink" href="#inspect-and-cust
414414
Bound [1e+00, 1e+00]
415415
RHS [1e+00, 1e+00]
416416
Iteration Objective NullspaceDim
417-
0 1 0 0.00s
418417
Objective value: 0.49999999999999994
418+
0 1 0 0.00s
419419
2 0.50000002 1 0.00s
420420
Model status : Optimal
421421
QP ASM iterations: 2

nonlinear.html

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

503503
EXIT: Optimal Solution Found.
@@ -619,7 +619,7 @@ <h2>Nonlinear constraints and objectives<a class="headerlink" href="#nonlinear-c
619619
Number of equality constraint Jacobian evaluations = 0
620620
Number of inequality constraint Jacobian evaluations = 0
621621
Number of Lagrangian Hessian evaluations = 14
622-
Total CPU secs in IPOPT (w/o function evaluations) = 0.003
622+
Total CPU secs in IPOPT (w/o function evaluations) = 0.005
623623
Total CPU secs in NLP function evaluations = 0.000
624624

625625
EXIT: Optimal Solution Found.
@@ -704,8 +704,9 @@ <h2>Mixing nonlinear and linear/quadratic constraints together<a class="headerli
704704
<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
705705
3 3.5000000e+02 0.00e+00 0.00e+00 -5.7 0.00e+00 0.2 1.00e+00 1.00e+00T 0
706706
4 3.5000000e+02 0.00e+00 0.00e+00 -8.6 0.00e+00 -0.2 1.00e+00 1.00e+00T 0
707-
708-
Number of Iterations....: 4
707+
</pre></div>
708+
</div>
709+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Number of Iterations....: 4
709710

710711
(scaled) (unscaled)
711712
Objective...............: 3.5000000000000318e+02 3.5000000000000318e+02
@@ -722,7 +723,7 @@ <h2>Mixing nonlinear and linear/quadratic constraints together<a class="headerli
722723
Number of equality constraint Jacobian evaluations = 5
723724
Number of inequality constraint Jacobian evaluations = 0
724725
Number of Lagrangian Hessian evaluations = 4
725-
Total CPU secs in IPOPT (w/o function evaluations) = 0.025
726+
Total CPU secs in IPOPT (w/o function evaluations) = 0.027
726727
Total CPU secs in NLP function evaluations = 0.001
727728

728729
EXIT: Optimal Solution Found.

numpy.html

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

364364
J 0 0 0 100.00% -inf 0 Large 0 0 0 0 0.0s
365+
Termination status: TerminationStatusCode.OPTIMAL
365366
1 0 1 100.00% 0 0 0.00% 0 0 0 0 0.0s
366367

367368
Solving report
@@ -371,14 +372,11 @@ <h2>N-queen problem<a class="headerlink" href="#n-queen-problem" title="Link to
371372
Gap 0% (tolerance: 0.01%)
372373
P-D integral 0
373374
Solution status feasible
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> 0 (objective)
375+
0 (objective)
378376
0 (bound viol.)
379377
0 (int. viol.)
380378
0 (row viol.)
381-
Timing 0.01
379+
Timing 0.02
382380
Max sub-MIP depth 0
383381
Nodes 1
384382
Repair LPs 0
@@ -442,9 +440,7 @@ <h2>Built-in functions to add variables and constraints as Numpy <code class="do
442440
Cost [1e+00, 1e+00]
443441
Bound [0e+00, 0e+00]
444442
RHS [1e+00, 1e+00]
445-
</pre></div>
446-
</div>
447-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Presolving model
443+
Presolving model
448444
0 rows, 0 cols, 0 nonzeros 0s
449445
0 rows, 0 cols, 0 nonzeros 0s
450446
Presolve reductions: rows 0(-16); columns 0(-8); nonzeros 0(-16) - Reduced to empty

0 commit comments

Comments
 (0)