Skip to content

Commit 6aaa2d3

Browse files
committed
Deploying to gh-pages from @ 13be687 🚀
1 parent 5d4cc49 commit 6aaa2d3

12 files changed

+60
-74
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-07 03:08:54 [INFO] checks license for COPT v7.2.8 20250516
310-
2025-08-07 03:08:54 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
311-
2025-08-07 03:08:54 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.12.11/x64/bin
312-
2025-08-07 03:08:54 [WARN] no license files in HOME folder: /home/runner/copt
313-
2025-08-07 03:08:54 [INFO] empty environment variable: COPT_LICENSE_DIR
314-
2025-08-07 03:08:54 [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: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;:
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 0x7f18c8482870&gt;
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;
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 0x7f18c8482db0&gt;
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;
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 0x7f18c8482e10&gt;
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;
417417
</pre></div>
418418
</div>
419419
</div>

examples/economic_dispatch.html

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -418,16 +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
423-
</pre></div>
424-
</div>
425-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Model status : Optimal
421+
Model status : Optimal
426422
Simplex iterations: 63
427423
QP ASM iterations: 108
428424
Objective value : 1.2684000000e+04
429425
P-D objective error : 1.6461008020e-06
430426
HiGHS run time : 0.00
427+
TerminationStatusCode.OPTIMAL
428+
Objective value: 12684.0
431429
</pre></div>
432430
</div>
433431
</div>
@@ -492,7 +490,14 @@ <h2>Change the load and solve the model again<a class="headerlink" href="#change
492490
RHS [2e+01, 2e+02]
493491
Iteration Objective NullspaceDim
494492
0 15430.248 0 0.00s
495-
100 14091.031 3 0.01s
493+
100 14091.031 3 0.00s
494+
169 13740.237 10 0.01s
495+
Model status : Optimal
496+
Simplex iterations: 86
497+
QP ASM iterations: 169
498+
Objective value : 1.3740213571e+04
499+
P-D objective error : 1.6699127419e-06
500+
HiGHS run time : 0.01
496501
TerminationStatusCode.OPTIMAL
497502
Objective value: 13740.213571429404
498503
[[100. 100. 100. 100. 100.
@@ -512,15 +517,6 @@ <h2>Change the load and solve the model again<a class="headerlink" href="#change
512517
52.85719184 53.28576347 53.7143351 54.14290673]]
513518
</pre></div>
514519
</div>
515-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 169 13740.237 10 0.01s
516-
Model status : Optimal
517-
Simplex iterations: 86
518-
QP ASM iterations: 169
519-
Objective value : 1.3740213571e+04
520-
P-D objective error : 1.6699127419e-06
521-
HiGHS run time : 0.01
522-
</pre></div>
523-
</div>
524520
</div>
525521
</div>
526522
</section>

examples/optimal_control_rocket.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -407,9 +407,7 @@ <h2>Implementation<a class="headerlink" href="#implementation" title="Link to th
407407
</div>
408408
</div>
409409
<div class="cell_output docutils container">
410-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>before m_nl_evaluator
411-
412-
******************************************************************************
410+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>******************************************************************************
413411
This program contains Ipopt, a library for large-scale nonlinear optimization.
414412
Ipopt is released as open source code under the Eclipse Public License (EPL).
415413
For more information visit http://projects.coin-or.org/Ipopt
@@ -505,8 +503,11 @@ <h2>Implementation<a class="headerlink" href="#implementation" title="Link to th
505503
Number of equality constraint Jacobian evaluations = 38
506504
Number of inequality constraint Jacobian evaluations = 0
507505
Number of Lagrangian Hessian evaluations = 37
508-
Total CPU secs in IPOPT (w/o function evaluations) = 0.344
509-
Total CPU secs in NLP function evaluations = 0.010
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
510511

511512
EXIT: Optimal Solution Found.
512513
</pre></div>

examples/optimal_power_flow.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -512,9 +512,7 @@ <h2>Implementation<a class="headerlink" href="#implementation" title="Link to th
512512
</div>
513513
</div>
514514
<div class="cell_output docutils container">
515-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>before m_nl_evaluator
516-
517-
******************************************************************************
515+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>******************************************************************************
518516
This program contains Ipopt, a library for large-scale nonlinear optimization.
519517
Ipopt is released as open source code under the Eclipse Public License (EPL).
520518
For more information visit http://projects.coin-or.org/Ipopt
@@ -587,7 +585,7 @@ <h2>Implementation<a class="headerlink" href="#implementation" title="Link to th
587585
Number of equality constraint Jacobian evaluations = 19
588586
Number of inequality constraint Jacobian evaluations = 19
589587
Number of Lagrangian Hessian evaluations = 18
590-
Total CPU secs in IPOPT (w/o function evaluations) = 0.003
588+
Total CPU secs in IPOPT (w/o function evaluations) = 0.006
591589
Total CPU secs in NLP function evaluations = 0.000
592590

593591
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 685 μs, sys: 0 ns, total: 685 μs
367-
Wall time: 689 μs
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
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 ms, sys: 0 ns, total: 15 ms
380-
Wall time: 14.9 ms
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
381381
</pre></div>
382382
</div>
383383
</div>

getting_started.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -557,9 +557,7 @@ <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-
</pre></div>
561-
</div>
562-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Coefficient ranges:
560+
Coefficient ranges:
563561
Matrix [1e+00, 1e+00]
564562
Cost [0e+00, 0e+00]
565563
Bound [0e+00, 0e+00]

infeasibility.html

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -318,18 +318,19 @@ <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-07 03:09:02 [INFO] checks license for COPT v7.2.8 20250516
322-
2025-08-07 03:09:02 [WARN] no license files in current working folder: /home/runner/work/PyOptInterface/PyOptInterface/docs/source
323-
2025-08-07 03:09:02 [WARN] no license files in binary folder: /opt/hostedtoolcache/Python/3.12.11/x64/bin
324-
2025-08-07 03:09:02 [WARN] no license files in HOME folder: /home/runner/copt
325-
2025-08-07 03:09:02 [INFO] empty environment variable: COPT_LICENSE_DIR
326-
2025-08-07 03:09:02 [WARN] no license files in EV &#39;COPT_LICENSE_DIR&#39;:
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;:
327329

328330
No license found. Starting COPT with size limitations for non-commercial use
329331
Please apply for a license from www.shanshu.ai/copt
330-
</pre></div>
331-
</div>
332-
<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 constraints
332+
333+
No license found. LP size is limited to 10000 variables and 10000 constraints
333334
Please apply for a license from www.shanshu.ai/copt
334335

335336
Model fingerprint: 43b22f9c

model.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,14 +422,14 @@ <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
425426
0 1 0 0.00s
426427
2 0.50000002 1 0.00s
427428
Model status : Optimal
428429
QP ASM iterations: 2
429430
Objective value : 5.0000000000e-01
430431
P-D objective error : 2.4999999473e-08
431432
HiGHS run time : 0.00
432-
Objective value: 0.49999999999999994
433433
</pre></div>
434434
</div>
435435
</div>

nonlinear.html

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -441,9 +441,7 @@ <h2>Nonlinear constraints and objectives<a class="headerlink" href="#nonlinear-c
441441
</div>
442442
</div>
443443
<div class="cell_output docutils container">
444-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>before m_nl_evaluator
445-
446-
******************************************************************************
444+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>******************************************************************************
447445
This program contains Ipopt, a library for large-scale nonlinear optimization.
448446
Ipopt is released as open source code under the Eclipse Public License (EPL).
449447
For more information visit http://projects.coin-or.org/Ipopt
@@ -508,7 +506,7 @@ <h2>Nonlinear constraints and objectives<a class="headerlink" href="#nonlinear-c
508506
Number of equality constraint Jacobian evaluations = 0
509507
Number of inequality constraint Jacobian evaluations = 11
510508
Number of Lagrangian Hessian evaluations = 10
511-
Total CPU secs in IPOPT (w/o function evaluations) = 0.005
509+
Total CPU secs in IPOPT (w/o function evaluations) = 0.004
512510
Total CPU secs in NLP function evaluations = 0.000
513511

514512
EXIT: Optimal Solution Found.
@@ -579,8 +577,7 @@ <h2>Nonlinear constraints and objectives<a class="headerlink" href="#nonlinear-c
579577
</div>
580578
</div>
581579
<div class="cell_output docutils container">
582-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>before m_nl_evaluator
583-
This is Ipopt version 3.13.2, running with linear solver ma27.
580+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>This is Ipopt version 3.13.2, running with linear solver ma27.
584581

585582
Number of nonzeros in equality constraint Jacobian...: 0
586583
Number of nonzeros in inequality constraint Jacobian.: 0
@@ -631,7 +628,7 @@ <h2>Nonlinear constraints and objectives<a class="headerlink" href="#nonlinear-c
631628
Number of equality constraint Jacobian evaluations = 0
632629
Number of inequality constraint Jacobian evaluations = 0
633630
Number of Lagrangian Hessian evaluations = 14
634-
Total CPU secs in IPOPT (w/o function evaluations) = 0.008
631+
Total CPU secs in IPOPT (w/o function evaluations) = 0.004
635632
Total CPU secs in NLP function evaluations = 0.000
636633

637634
EXIT: Optimal Solution Found.
@@ -692,8 +689,7 @@ <h2>Mixing nonlinear and linear/quadratic constraints together<a class="headerli
692689
</div>
693690
</div>
694691
<div class="cell_output docutils container">
695-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>before m_nl_evaluator
696-
This is Ipopt version 3.13.2, running with linear solver ma27.
692+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>This is Ipopt version 3.13.2, running with linear solver ma27.
697693

698694
Number of nonzeros in equality constraint Jacobian...: 8000
699695
Number of nonzeros in inequality constraint Jacobian.: 0
@@ -713,9 +709,7 @@ <h2>Mixing nonlinear and linear/quadratic constraints together<a class="headerli
713709
0 3.5000000e+02 0.00e+00 0.00e+00 -1.0 0.00e+00 - 0.00e+00 0.00e+00 0
714710
1 3.5000000e+02 0.00e+00 0.00e+00 -1.7 0.00e+00 - 1.00e+00 1.00e+00 0
715711
2 3.5000000e+02 0.00e+00 0.00e+00 -3.8 0.00e+00 -2.0 1.00e+00 1.00e+00T 0
716-
</pre></div>
717-
</div>
718-
<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
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
719713
4 3.5000000e+02 0.00e+00 0.00e+00 -8.6 0.00e+00 -0.2 1.00e+00 1.00e+00T 0
720714

721715
Number of Iterations....: 4
@@ -735,7 +729,7 @@ <h2>Mixing nonlinear and linear/quadratic constraints together<a class="headerli
735729
Number of equality constraint Jacobian evaluations = 5
736730
Number of inequality constraint Jacobian evaluations = 0
737731
Number of Lagrangian Hessian evaluations = 4
738-
Total CPU secs in IPOPT (w/o function evaluations) = 0.027
732+
Total CPU secs in IPOPT (w/o function evaluations) = 0.025
739733
Total CPU secs in NLP function evaluations = 0.001
740734

741735
EXIT: Optimal Solution Found.

numpy.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -364,16 +364,16 @@ <h2>N-queen problem<a class="headerlink" href="#n-queen-problem" title="Link to
364364
Src: B =&gt; Branching; C =&gt; Central rounding; F =&gt; Feasibility pump; J =&gt; Feasibility jump;
365365
H =&gt; Heuristic; L =&gt; Sub-MIP; P =&gt; Empty MIP; R =&gt; Randomized rounding; Z =&gt; ZI Round;
366366
I =&gt; Shifting; S =&gt; Solve LP; T =&gt; Evaluate node; U =&gt; Unbounded; X =&gt; User solution;
367-
Termination status: TerminationStatusCode.OPTIMAL
368-
</pre></div>
369-
</div>
370-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> z =&gt; Trivial zero; l =&gt; Trivial lower; u =&gt; Trivial upper; p =&gt; Trivial point
367+
z =&gt; Trivial zero; l =&gt; Trivial lower; u =&gt; Trivial upper; p =&gt; Trivial point
371368

372369
Nodes | B&amp;B Tree | Objective Bounds | Dynamic Constraints | Work
373370
Src Proc. InQueue | Leaves Expl. | BestBound BestSol Gap | Cuts InLp Confl. | LpIters Time
374371

375372
J 0 0 0 100.00% -inf 0 Large 0 0 0 0 0.0s
376-
1 0 1 100.00% 0 0 0.00% 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
377377

378378
Solving report
379379
Status Optimal

0 commit comments

Comments
 (0)