Skip to content

Commit 70824f2

Browse files
committed
Add MP tag
1 parent 685ffef commit 70824f2

32 files changed

+220
-90
lines changed

authors/glebbelov/miscellaneous/nqueens.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"\n",
1212
"Description: How can N queens be placed on an NxN chessboard so that no two of them attack each other?\n",
1313
"\n",
14-
"Tags: amplpy, constraint-programming, highlights\n",
14+
"Tags: amplpy, MP, constraint-programming, highlights\n",
1515
"\n",
1616
"Notebook author: Gleb Belov <<gleb@ampl.com>>"
1717
]
@@ -170,7 +170,7 @@
170170
"provenance": []
171171
},
172172
"kernelspec": {
173-
"display_name": "Python 3.9.13 ('venv': venv)",
173+
"display_name": "Python 3 (ipykernel)",
174174
"language": "python",
175175
"name": "python3"
176176
},
@@ -184,7 +184,7 @@
184184
"name": "python",
185185
"nbconvert_exporter": "python",
186186
"pygments_lexer": "ipython3",
187-
"version": "3.9.13 (main, May 24 2022, 21:28:31) \n[Clang 13.1.6 (clang-1316.0.21.2)]"
187+
"version": "3.13.0"
188188
},
189189
"vscode": {
190190
"interpreter": {
@@ -672,5 +672,5 @@
672672
}
673673
},
674674
"nbformat": 4,
675-
"nbformat_minor": 0
675+
"nbformat_minor": 4
676676
}

authors/glebbelov/miscellaneous/sched_numberof.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"\n",
1010
"Description: Scheduling model with the Constraint Programming *numberof* operator, solved with a MIP solver. New MIP solver drivers based on the [MP library](https://amplmp.readthedocs.io/) enable CP-style modeling.\n",
1111
"\n",
12-
"Tags: ampl-only, constraint-programming\n",
12+
"Tags: ampl-only, MP, constraint-programming\n",
1313
"\n",
1414
"Notebook author: Gleb Belov <<gleb@ampl.com>>\n",
1515
"\n",
@@ -447,9 +447,9 @@
447447
"name": "python",
448448
"nbconvert_exporter": "python",
449449
"pygments_lexer": "ipython3",
450-
"version": "3.9.6"
450+
"version": "3.13.0"
451451
}
452452
},
453453
"nbformat": 4,
454-
"nbformat_minor": 2
454+
"nbformat_minor": 4
455455
}

authors/glebbelov/miscellaneous/sol-check.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"\n",
1212
"Description: Pathological examples to illustrate MP solution checker and settings\n",
1313
"\n",
14-
"Tags: MP library, solution check, non-continuous objective, strict comparison\n",
14+
"Tags: MP, solution check, non-continuous objective, strict comparison\n",
1515
"\n",
1616
"Notebook author: Gleb Belov <<gleb@ampl.com>>"
1717
]
@@ -419,7 +419,7 @@
419419
"name": "python",
420420
"nbconvert_exporter": "python",
421421
"pygments_lexer": "ipython3",
422-
"version": "3.9.6"
422+
"version": "3.13.0"
423423
},
424424
"vscode": {
425425
"interpreter": {
@@ -915,5 +915,5 @@
915915
}
916916
},
917917
"nbformat": 4,
918-
"nbformat_minor": 1
918+
"nbformat_minor": 4
919919
}

authors/glebbelov/portfolio/portfolio_factor_model.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"\n",
1313
"Description: Mean-Variance Portfolio Optimization model where the risk estimator is not given explicitly but is instead represented by a factor model, as is common in US equity models [1]. The original notebook is [3].\n",
1414
"\n",
15-
"Tags: finance, portfolio optimization, mean variance, factor model, AMPL conditonal instantiation, cardinality constraint\n",
15+
"Tags: finance, portfolio optimization, mean variance, factor model, AMPL conditonal instantiation, MP, cardinality constraint\n",
1616
"\n",
1717
"Notebook author: Gleb Belov <<gleb@ampl.com>>\n",
1818
"\n",

authors/glebbelov/scheduling/color_change/color_change_scheduling.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"\n",
1313
"Description: A scheduling problem demonstrating high-level modeling and automatic solver tuning in FICO Xpress\n",
1414
"\n",
15-
"Tags: amplpy, scheduling, color change scheduling, tuning, xpress\n",
15+
"Tags: AMPLPY, MP, scheduling, color change scheduling, tuning, xpress\n",
1616
"\n",
1717
"Notebook author: Gleb Belov <<gleb@ampl.com>>\n",
1818
"\n",

docs/source/authors/gleb_at_ampl.com.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ CP-style scheduling model with the *numberof* operator, solved by a MIP solver
4242
| `Notebooks <../notebooks/index.html>`_ > `CP-style scheduling model with the *numberof* operator, solved by a MIP solver <../notebooks/cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver.html>`_
4343
| |github-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver| |colab-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver| |deepnote-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver| |kaggle-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver| |gradient-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver| |sagemaker-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver|
4444
| Description: Scheduling model with the Constraint Programming *numberof* operator, solved with a MIP solver. New MIP solver drivers based on the [MP library](https://amplmp.readthedocs.io/) enable CP-style modeling.
45-
| Tags: :ref:`tag-ampl-only`, :ref:`tag-constraint-programming`
45+
| Tags: :ref:`tag-ampl-only`, :ref:`tag-mp`, :ref:`tag-constraint-programming`
4646
| Author: :ref:`email-gleb_at_ampl.com` <gleb@ampl.com>
4747
4848
.. |github-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver| image:: https://img.shields.io/badge/github-%23121011.svg?logo=github
@@ -144,7 +144,7 @@ N-Queens
144144
| `Notebooks <../notebooks/index.html>`_ > `N-Queens <../notebooks/n-queens.html>`_
145145
| |github-n-queens| |colab-n-queens| |deepnote-n-queens| |kaggle-n-queens| |gradient-n-queens| |sagemaker-n-queens|
146146
| Description: How can N queens be placed on an NxN chessboard so that no two of them attack each other?
147-
| Tags: :ref:`tag-amplpy`, :ref:`tag-constraint-programming`, :ref:`tag-highlights`
147+
| Tags: :ref:`tag-amplpy`, :ref:`tag-mp`, :ref:`tag-constraint-programming`, :ref:`tag-highlights`
148148
| Author: :ref:`email-gleb_at_ampl.com` <gleb@ampl.com>
149149
150150
.. |github-n-queens| image:: https://img.shields.io/badge/github-%23121011.svg?logo=github
@@ -178,7 +178,7 @@ Paintshop Color Change Scheduling with FICO Xpress
178178
| `Notebooks <../notebooks/index.html>`_ > `Paintshop Color Change Scheduling with FICO Xpress <../notebooks/paintshop-color-change-scheduling-with-fico-xpress.html>`_
179179
| |github-paintshop-color-change-scheduling-with-fico-xpress| |colab-paintshop-color-change-scheduling-with-fico-xpress| |deepnote-paintshop-color-change-scheduling-with-fico-xpress| |kaggle-paintshop-color-change-scheduling-with-fico-xpress| |gradient-paintshop-color-change-scheduling-with-fico-xpress| |sagemaker-paintshop-color-change-scheduling-with-fico-xpress|
180180
| Description: A scheduling problem demonstrating high-level modeling and automatic solver tuning in FICO Xpress
181-
| Tags: :ref:`tag-amplpy`, :ref:`tag-scheduling`, :ref:`tag-color-change-scheduling`, :ref:`tag-tuning`, :ref:`tag-xpress`
181+
| Tags: :ref:`tag-amplpy`, :ref:`tag-mp`, :ref:`tag-scheduling`, :ref:`tag-color-change-scheduling`, :ref:`tag-tuning`, :ref:`tag-xpress`
182182
| Author: :ref:`email-gleb_at_ampl.com` <gleb@ampl.com>
183183
184184
.. |github-paintshop-color-change-scheduling-with-fico-xpress| image:: https://img.shields.io/badge/github-%23121011.svg?logo=github
@@ -212,7 +212,7 @@ Portfolio Optimization: Factor Model
212212
| `Notebooks <../notebooks/index.html>`_ > `Portfolio Optimization: Factor Model <../notebooks/portfolio-optimization-factor-model.html>`_
213213
| |github-portfolio-optimization-factor-model| |colab-portfolio-optimization-factor-model| |deepnote-portfolio-optimization-factor-model| |kaggle-portfolio-optimization-factor-model| |gradient-portfolio-optimization-factor-model| |sagemaker-portfolio-optimization-factor-model|
214214
| Description: Mean-Variance Portfolio Optimization model where the risk estimator is not given explicitly but is instead represented by a factor model, as is common in US equity models [1]. The original notebook is [3].
215-
| Tags: :ref:`tag-finance`, :ref:`tag-portfolio-optimization`, :ref:`tag-mean-variance`, :ref:`tag-factor-model`, :ref:`tag-ampl-conditonal-instantiation`, :ref:`tag-cardinality-constraint`
215+
| Tags: :ref:`tag-finance`, :ref:`tag-portfolio-optimization`, :ref:`tag-mean-variance`, :ref:`tag-factor-model`, :ref:`tag-ampl-conditonal-instantiation`, :ref:`tag-mp`, :ref:`tag-cardinality-constraint`
216216
| Author: :ref:`email-gleb_at_ampl.com` <gleb@ampl.com>
217217
218218
.. |github-portfolio-optimization-factor-model| image:: https://img.shields.io/badge/github-%23121011.svg?logo=github
@@ -314,7 +314,7 @@ Solution check: discontinuous objective function
314314
| `Notebooks <../notebooks/index.html>`_ > `Solution check: discontinuous objective function <../notebooks/solution-check-discontinuous-objective-function.html>`_
315315
| |github-solution-check-discontinuous-objective-function| |colab-solution-check-discontinuous-objective-function| |deepnote-solution-check-discontinuous-objective-function| |kaggle-solution-check-discontinuous-objective-function| |gradient-solution-check-discontinuous-objective-function| |sagemaker-solution-check-discontinuous-objective-function|
316316
| Description: Pathological examples to illustrate MP solution checker and settings
317-
| Tags: :ref:`tag-mp-library`, :ref:`tag-solution-check`, :ref:`tag-non-continuous-objective`, :ref:`tag-strict-comparison`
317+
| Tags: :ref:`tag-mp`, :ref:`tag-solution-check`, :ref:`tag-non-continuous-objective`, :ref:`tag-strict-comparison`
318318
| Author: :ref:`email-gleb_at_ampl.com` <gleb@ampl.com>
319319
320320
.. |github-solution-check-discontinuous-objective-function| image:: https://img.shields.io/badge/github-%23121011.svg?logo=github

docs/source/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ CP-style scheduling model with the *numberof* operator, solved by a MIP solver
831831
| `Notebooks <notebooks/index.html>`_ > `CP-style scheduling model with the *numberof* operator, solved by a MIP solver <notebooks/cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver.html>`_
832832
| |github-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver| |colab-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver| |deepnote-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver| |kaggle-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver| |gradient-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver| |sagemaker-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver|
833833
| Description: Scheduling model with the Constraint Programming *numberof* operator, solved with a MIP solver. New MIP solver drivers based on the [MP library](https://amplmp.readthedocs.io/) enable CP-style modeling.
834-
| Tags: :ref:`tag-ampl-only`, :ref:`tag-constraint-programming`
834+
| Tags: :ref:`tag-ampl-only`, :ref:`tag-mp`, :ref:`tag-constraint-programming`
835835
| Author: :ref:`email-gleb_at_ampl.com` <gleb@ampl.com>
836836
837837
.. |github-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver| image:: https://img.shields.io/badge/github-%23121011.svg?logo=github
@@ -1785,7 +1785,7 @@ N-Queens
17851785
| `Notebooks <notebooks/index.html>`_ > `N-Queens <notebooks/n-queens.html>`_
17861786
| |github-n-queens| |colab-n-queens| |deepnote-n-queens| |kaggle-n-queens| |gradient-n-queens| |sagemaker-n-queens|
17871787
| Description: How can N queens be placed on an NxN chessboard so that no two of them attack each other?
1788-
| Tags: :ref:`tag-amplpy`, :ref:`tag-constraint-programming`, :ref:`tag-highlights`
1788+
| Tags: :ref:`tag-amplpy`, :ref:`tag-mp`, :ref:`tag-constraint-programming`, :ref:`tag-highlights`
17891789
| Author: :ref:`email-gleb_at_ampl.com` <gleb@ampl.com>
17901790
17911791
.. |github-n-queens| image:: https://img.shields.io/badge/github-%23121011.svg?logo=github
@@ -2548,7 +2548,7 @@ Paintshop Color Change Scheduling with FICO Xpress
25482548
| `Notebooks <notebooks/index.html>`_ > `Paintshop Color Change Scheduling with FICO Xpress <notebooks/paintshop-color-change-scheduling-with-fico-xpress.html>`_
25492549
| |github-paintshop-color-change-scheduling-with-fico-xpress| |colab-paintshop-color-change-scheduling-with-fico-xpress| |deepnote-paintshop-color-change-scheduling-with-fico-xpress| |kaggle-paintshop-color-change-scheduling-with-fico-xpress| |gradient-paintshop-color-change-scheduling-with-fico-xpress| |sagemaker-paintshop-color-change-scheduling-with-fico-xpress|
25502550
| Description: A scheduling problem demonstrating high-level modeling and automatic solver tuning in FICO Xpress
2551-
| Tags: :ref:`tag-amplpy`, :ref:`tag-scheduling`, :ref:`tag-color-change-scheduling`, :ref:`tag-tuning`, :ref:`tag-xpress`
2551+
| Tags: :ref:`tag-amplpy`, :ref:`tag-mp`, :ref:`tag-scheduling`, :ref:`tag-color-change-scheduling`, :ref:`tag-tuning`, :ref:`tag-xpress`
25522552
| Author: :ref:`email-gleb_at_ampl.com` <gleb@ampl.com>
25532553
25542554
.. |github-paintshop-color-change-scheduling-with-fico-xpress| image:: https://img.shields.io/badge/github-%23121011.svg?logo=github
@@ -2752,7 +2752,7 @@ Portfolio Optimization: Factor Model
27522752
| `Notebooks <notebooks/index.html>`_ > `Portfolio Optimization: Factor Model <notebooks/portfolio-optimization-factor-model.html>`_
27532753
| |github-portfolio-optimization-factor-model| |colab-portfolio-optimization-factor-model| |deepnote-portfolio-optimization-factor-model| |kaggle-portfolio-optimization-factor-model| |gradient-portfolio-optimization-factor-model| |sagemaker-portfolio-optimization-factor-model|
27542754
| Description: Mean-Variance Portfolio Optimization model where the risk estimator is not given explicitly but is instead represented by a factor model, as is common in US equity models [1]. The original notebook is [3].
2755-
| Tags: :ref:`tag-finance`, :ref:`tag-portfolio-optimization`, :ref:`tag-mean-variance`, :ref:`tag-factor-model`, :ref:`tag-ampl-conditonal-instantiation`, :ref:`tag-cardinality-constraint`
2755+
| Tags: :ref:`tag-finance`, :ref:`tag-portfolio-optimization`, :ref:`tag-mean-variance`, :ref:`tag-factor-model`, :ref:`tag-ampl-conditonal-instantiation`, :ref:`tag-mp`, :ref:`tag-cardinality-constraint`
27562756
| Author: :ref:`email-gleb_at_ampl.com` <gleb@ampl.com>
27572757
27582758
.. |github-portfolio-optimization-factor-model| image:: https://img.shields.io/badge/github-%23121011.svg?logo=github
@@ -3360,7 +3360,7 @@ Solution check: discontinuous objective function
33603360
| `Notebooks <notebooks/index.html>`_ > `Solution check: discontinuous objective function <notebooks/solution-check-discontinuous-objective-function.html>`_
33613361
| |github-solution-check-discontinuous-objective-function| |colab-solution-check-discontinuous-objective-function| |deepnote-solution-check-discontinuous-objective-function| |kaggle-solution-check-discontinuous-objective-function| |gradient-solution-check-discontinuous-objective-function| |sagemaker-solution-check-discontinuous-objective-function|
33623362
| Description: Pathological examples to illustrate MP solution checker and settings
3363-
| Tags: :ref:`tag-mp-library`, :ref:`tag-solution-check`, :ref:`tag-non-continuous-objective`, :ref:`tag-strict-comparison`
3363+
| Tags: :ref:`tag-mp`, :ref:`tag-solution-check`, :ref:`tag-non-continuous-objective`, :ref:`tag-strict-comparison`
33643364
| Author: :ref:`email-gleb_at_ampl.com` <gleb@ampl.com>
33653365
33663366
.. |github-solution-check-discontinuous-objective-function| image:: https://img.shields.io/badge/github-%23121011.svg?logo=github

docs/source/modules/coin.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ CP-style scheduling model with the *numberof* operator, solved by a MIP solver
212212
| `Notebooks <../notebooks/index.html>`_ > `CP-style scheduling model with the *numberof* operator, solved by a MIP solver <../notebooks/cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver.html>`_
213213
| |github-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver| |colab-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver| |deepnote-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver| |kaggle-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver| |gradient-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver| |sagemaker-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver|
214214
| Description: Scheduling model with the Constraint Programming *numberof* operator, solved with a MIP solver. New MIP solver drivers based on the [MP library](https://amplmp.readthedocs.io/) enable CP-style modeling.
215-
| Tags: :ref:`tag-ampl-only`, :ref:`tag-constraint-programming`
215+
| Tags: :ref:`tag-ampl-only`, :ref:`tag-mp`, :ref:`tag-constraint-programming`
216216
| Author: :ref:`email-gleb_at_ampl.com` <gleb@ampl.com>
217217
218218
.. |github-cp-style-scheduling-model-with-the-numberof-operator-solved-by-a-mip-solver| image:: https://img.shields.io/badge/github-%23121011.svg?logo=github

docs/source/modules/gurobi.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ Portfolio Optimization: Factor Model
10241024
| `Notebooks <../notebooks/index.html>`_ > `Portfolio Optimization: Factor Model <../notebooks/portfolio-optimization-factor-model.html>`_
10251025
| |github-portfolio-optimization-factor-model| |colab-portfolio-optimization-factor-model| |deepnote-portfolio-optimization-factor-model| |kaggle-portfolio-optimization-factor-model| |gradient-portfolio-optimization-factor-model| |sagemaker-portfolio-optimization-factor-model|
10261026
| Description: Mean-Variance Portfolio Optimization model where the risk estimator is not given explicitly but is instead represented by a factor model, as is common in US equity models [1]. The original notebook is [3].
1027-
| Tags: :ref:`tag-finance`, :ref:`tag-portfolio-optimization`, :ref:`tag-mean-variance`, :ref:`tag-factor-model`, :ref:`tag-ampl-conditonal-instantiation`, :ref:`tag-cardinality-constraint`
1027+
| Tags: :ref:`tag-finance`, :ref:`tag-portfolio-optimization`, :ref:`tag-mean-variance`, :ref:`tag-factor-model`, :ref:`tag-ampl-conditonal-instantiation`, :ref:`tag-mp`, :ref:`tag-cardinality-constraint`
10281028
| Author: :ref:`email-gleb_at_ampl.com` <gleb@ampl.com>
10291029
10301030
.. |github-portfolio-optimization-factor-model| image:: https://img.shields.io/badge/github-%23121011.svg?logo=github

0 commit comments

Comments
 (0)