Skip to content

Commit a33aab3

Browse files
committed
Deploying to gh-pages from @ 59f3393 🚀
1 parent 98b6884 commit a33aab3

12 files changed

+53
-56
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 13:01:34 [INFO] checks license for COPT v8.0.2 20251201
301-
2025-12-11 13:01:34 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
302-
2025-12-11 13:01:34 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.13.11/x64/bin
303-
2025-12-11 13:01:34 [WARN] no license files in HOME folder: /home/runner/copt
304-
2025-12-11 13:01:34 [INFO] empty environment variable: COPT_LICENSE_DIR
305-
2025-12-11 13:01:34 [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 16:24:50 [INFO] checks license for COPT v8.0.2 20251201
301+
2025-12-11 16:24:50 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
302+
2025-12-11 16:24:50 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.13.11/x64/bin
303+
2025-12-11 16:24:50 [WARN] no license files in HOME folder: /home/runner/copt
304+
2025-12-11 16:24:50 [INFO] empty environment variable: COPT_LICENSE_DIR
305+
2025-12-11 16:24:50 [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 0x7f84d0eec4b0&gt;
380+
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7f66142147f0&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 0x7f84d0eecc90&gt;
393+
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7f6614214c90&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 0x7f84d0eeccf0&gt;
407+
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pyoptinterface._src.core_ext.ConstraintIndex at 0x7f6614214cf0&gt;
408408
</pre></div>
409409
</div>
410410
</div>

container.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ <h2>Building a model with <code class="docutils literal notranslate"><span class
494494
QP ASM iterations: 360
495495
Objective value : 2.0000000000e+00
496496
P-D objective error : 3.9999998246e-08
497-
HiGHS run time : 0.01
497+
HiGHS run time : 0.02
498498
</pre></div>
499499
</div>
500500
</div>

examples/economic_dispatch.html

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,11 @@ <h2>Change the load and solve the model again<a class="headerlink" href="#change
486486
100 14091.031 3 0.01s
487487
169 13740.237 10 0.01s
488488
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
489494
TerminationStatusCode.OPTIMAL
490495
Objective value: 13740.213571429404
491496
[[100. 100. 100. 100. 100.
@@ -505,13 +510,6 @@ <h2>Change the load and solve the model again<a class="headerlink" href="#change
505510
52.85719184 53.28576347 53.7143351 54.14290673]]
506511
</pre></div>
507512
</div>
508-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Simplex iterations: 86
509-
QP ASM iterations: 169
510-
Objective value : 1.3740213571e+04
511-
P-D objective error : 1.6699127419e-06
512-
HiGHS run time : 0.01
513-
</pre></div>
514-
</div>
515513
</div>
516514
</div>
517515
</section>

examples/optimal_control_rocket.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -494,11 +494,8 @@ <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.351
498-
Total CPU secs in NLP function evaluation
499-
</pre></div>
500-
</div>
501-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>s = 0.010
497+
Total CPU secs in IPOPT (w/o function evaluations) = 0.349
498+
Total CPU secs in NLP function evaluations = 0.010
502499

503500
EXIT: Optimal Solution Found.
504501
</pre></div>

examples/optimal_power_flow.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ <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.006
579+
Total CPU secs in IPOPT (w/o function evaluations) = 0.007
580580
Total CPU secs in NLP function evaluations = 0.000
581581

582582
EXIT: Optimal Solution Found.

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 751 μs, sys: 0 ns, total: 751 μs
358-
Wall time: 753 μs
357+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 693 μs, sys: 0 ns, total: 693 μs
358+
Wall time: 697 μ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.7 ms, sys: 0 ns, total: 15.7 ms
371-
Wall time: 15.4 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
@@ -328,12 +328,12 @@ <h1>Infeasibility Analysis<a class="headerlink" href="#infeasibility-analysis" t
328328
Constraint 2 IIS: True
329329
</pre></div>
330330
</div>
331-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>2025-12-11 13:01:42 [INFO] checks license for COPT v8.0.2 20251201
332-
2025-12-11 13:01:42 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
333-
2025-12-11 13:01:42 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.13.11/x64/bin
334-
2025-12-11 13:01:42 [WARN] no license files in HOME folder: /home/runner/copt
335-
2025-12-11 13:01:42 [INFO] empty environment variable: COPT_LICENSE_DIR
336-
2025-12-11 13:01:42 [WARN] no license files in EV &#39;COPT_LICENSE_DIR&#39;:
331+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>2025-12-11 16:25:02 [INFO] checks license for COPT v8.0.2 20251201
332+
2025-12-11 16:25:02 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
333+
2025-12-11 16:25:02 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.13.11/x64/bin
334+
2025-12-11 16:25:02 [WARN] no license files in HOME folder: /home/runner/copt
335+
2025-12-11 16:25:02 [INFO] empty environment variable: COPT_LICENSE_DIR
336+
2025-12-11 16:25:02 [WARN] no license files in EV &#39;COPT_LICENSE_DIR&#39;:
337337

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

model.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,11 +417,11 @@ <h2>Inspect and customize the model<a class="headerlink" href="#inspect-and-cust
417417
0 1 0 0.00s
418418
2 0.50000002 1 0.00s
419419
Model status : Optimal
420-
Objective value: 0.49999999999999994
421420
QP ASM iterations: 2
422421
Objective value : 5.0000000000e-01
423422
P-D objective error : 2.4999999473e-08
424423
HiGHS run time : 0.00
424+
Objective value: 0.49999999999999994
425425
</pre></div>
426426
</div>
427427
</div>
@@ -486,7 +486,9 @@ <h2>Write the model to file<a class="headerlink" href="#write-the-model-to-file"
486486
<div class="cell_output docutils container">
487487
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>WARNING: Column names are blank or not present: using names with prefix &quot;c&quot;, beginning with suffix 0
488488
WARNING: Row names are blank or not present: using names with prefix &quot;r&quot;, beginning with suffix 0
489-
Writing the model to model.lp
489+
</pre></div>
490+
</div>
491+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Writing the model to model.lp
490492
</pre></div>
491493
</div>
492494
</div>

nonlinear.html

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -477,9 +477,7 @@ <h2>Nonlinear constraints and objectives<a class="headerlink" href="#nonlinear-c
477477
7 5.4427137e+00 0.00e+00 3.36e-03 -2.5 7.95e-02 - 9.84e-01 1.00e+00f 1
478478
8 5.4366982e+00 0.00e+00 4.18e-06 -3.8 7.75e-03 - 1.00e+00 1.00e+00h 1
479479
9 5.4365655e+00 0.00e+00 1.91e-08 -5.7 1.81e-04 - 1.00e+00 1.00e+00h 1
480-
</pre></div>
481-
</div>
482-
<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
480+
iter objective inf_pr inf_du lg(mu) ||d|| lg(rg) alpha_du alpha_pr ls
483481
10 5.4365636e+00 0.00e+00 3.26e-12 -8.6 2.72e-06 - 1.00e+00 1.00e+00h 1
484482

485483
Number of Iterations....: 10
@@ -499,7 +497,7 @@ <h2>Nonlinear constraints and objectives<a class="headerlink" href="#nonlinear-c
499497
Number of equality constraint Jacobian evaluations = 0
500498
Number of inequality constraint Jacobian evaluations = 11
501499
Number of Lagrangian Hessian evaluations = 10
502-
Total CPU secs in IPOPT (w/o function evaluations) = 0.005
500+
Total CPU secs in IPOPT (w/o function evaluations) = 0.006
503501
Total CPU secs in NLP function evaluations = 0.000
504502

505503
EXIT: Optimal Solution Found.
@@ -621,11 +619,8 @@ <h2>Nonlinear constraints and objectives<a class="headerlink" href="#nonlinear-c
621619
Number of equality constraint Jacobian evaluations = 0
622620
Number of inequality constraint Jacobian evaluations = 0
623621
Number of Lagrangian Hessian evaluations = 14
624-
Total CPU secs in IPOPT (w/o function evaluations) = 0.003
625-
Total CPU secs in NLP function evaluations
626-
</pre></div>
627-
</div>
628-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> = 0.000
622+
Total CPU secs in IPOPT (w/o function evaluations) = 0.005
623+
Total CPU secs in NLP function evaluations = 0.000
629624

630625
EXIT: Optimal Solution Found.
631626
</pre></div>
@@ -703,11 +698,13 @@ <h2>Mixing nonlinear and linear/quadratic constraints together<a class="headerli
703698

704699
iter objective inf_pr inf_du lg(mu) ||d|| lg(rg) alpha_du alpha_pr ls
705700
0 3.5000000e+02 0.00e+00 0.00e+00 -1.0 0.00e+00 - 0.00e+00 0.00e+00 0
706-
1 3.5000000e+02 0.00e+00 0.00e+00 -1.7 0.00e+00 - 1.00e+00 1.00e+00 0
707701
</pre></div>
708702
</div>
709-
<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
710-
3 3.5000000e+02 0.00e+00 0.00e+00 -5.7 0.00e+00 0.2 1.00e+00 1.00e+00T 0
703+
<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
704+
2 3.5000000e+02 0.00e+00 0.00e+00 -3.8 0.00e+00 -2.0 1.00e+00 1.00e+00T 0
705+
</pre></div>
706+
</div>
707+
<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
711708
4 3.5000000e+02 0.00e+00 0.00e+00 -8.6 0.00e+00 -0.2 1.00e+00 1.00e+00T 0
712709

713710
Number of Iterations....: 4
@@ -727,7 +724,7 @@ <h2>Mixing nonlinear and linear/quadratic constraints together<a class="headerli
727724
Number of equality constraint Jacobian evaluations = 5
728725
Number of inequality constraint Jacobian evaluations = 0
729726
Number of Lagrangian Hessian evaluations = 4
730-
Total CPU secs in IPOPT (w/o function evaluations) = 0.027
727+
Total CPU secs in IPOPT (w/o function evaluations) = 0.023
731728
Total CPU secs in NLP function evaluations = 0.001
732729

733730
EXIT: Optimal Solution Found.

numpy.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -352,10 +352,8 @@ <h2>N-queen problem<a class="headerlink" href="#n-queen-problem" title="Link to
352352
42 rows
353353
64 cols (64 binary, 0 integer, 0 implied int., 0 continuous, 0 domain fixed)
354354
270 nonzeros
355-
Termination status: TerminationStatusCode.OPTIMAL
356-
</pre></div>
357-
</div>
358-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Src: B =&gt; Branching; C =&gt; Central rounding; F =&gt; Feasibility pump; H =&gt; Heuristic;
355+
356+
Src: B =&gt; Branching; C =&gt; Central rounding; F =&gt; Feasibility pump; H =&gt; Heuristic;
359357
I =&gt; Shifting; J =&gt; Feasibility jump; L =&gt; Sub-MIP; P =&gt; Empty MIP; R =&gt; Randomized rounding;
360358
S =&gt; Solve LP; T =&gt; Evaluate node; U =&gt; Unbounded; X =&gt; User solution; Y =&gt; HiGHS solution;
361359
Z =&gt; ZI Round; l =&gt; Trivial lower; p =&gt; Trivial point; u =&gt; Trivial upper; z =&gt; Trivial zero
@@ -365,6 +363,7 @@ <h2>N-queen problem<a class="headerlink" href="#n-queen-problem" title="Link to
365363

366364
J 0 0 0 100.00% -inf 0 Large 0 0 0 0 0.0s
367365
1 0 1 100.00% 0 0 0.00% 0 0 0 0 0.0s
366+
Termination status: TerminationStatusCode.OPTIMAL
368367

369368
Solving report
370369
Status Optimal
@@ -446,7 +445,9 @@ <h2>Built-in functions to add variables and constraints as Numpy <code class="do
446445
0 rows, 0 cols, 0 nonzeros 0s
447446
Presolve reductions: rows 0(-16); columns 0(-8); nonzeros 0(-16) - Reduced to empty
448447
Performed postsolve
449-
Solving the original LP from the solution after postsolve
448+
</pre></div>
449+
</div>
450+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Solving the original LP from the solution after postsolve
450451

451452
Model status : Optimal
452453
Objective value : 8.0000000000e+00

0 commit comments

Comments
 (0)