diff --git a/docs/source/getting-started.rst b/docs/source/getting-started.rst
index fb6ceb1..b967609 100644
--- a/docs/source/getting-started.rst
+++ b/docs/source/getting-started.rst
@@ -77,24 +77,25 @@ at the beginning of your notebook:
.. code-block:: bash
# Install dependencies
- !pip install -q amplpy
+ %pip install -q amplpy
.. code-block:: python
# Google Colab & Kaggle integration
- from amplpy import AMPL, tools
- ampl = tools.ampl_notebook(
- modules=["coin", "highs", "gokestrel"], # modules to install
+ from amplpy import AMPL, ampl_notebook
+ ampl = ampl_notebook(
+ modules=["coin", "highs", "gokestrel", "gurobi"], # modules to install
license_uuid="default", # license to use
- g=globals()) # instantiate AMPL object and register magics
+ ) # instantiate AMPL object and register magics
.. note::
In these notebooks there are ``%%ampl_eval`` cells that allow you to run AMPL code directly from the notebook.
They are equivalent to ``ampl.eval("""cell content""")``.
-Several notebooks with examples are available on the `AMPL Model Colaboratory `_.
+Many notebooks with examples are available on the `AMPL Model Colaboratory `_
+and the new book `Hands-On Optimization with AMPL in Python 🐍 `_.
Initial test
------------
diff --git a/docs/source/index.rst b/docs/source/index.rst
index fdb2953..0bb559d 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -19,6 +19,10 @@ With ``amplpy`` you can model and solve large scale optimization problems in Pyt
without losing model readability. The same model can be deployed on applications
built on different languages by just switching the API used.
+.. image:: https://portal.ampl.com/dl/ads/mo_book_big.png
+ :alt: Hands-On Optimization with AMPL in Python
+ :target: https://ampl.com/mo-book/
+
.. grid:: 1 1 2 2
:gutter: 0
:margin: 0
@@ -74,7 +78,8 @@ built on different languages by just switching the API used.
:target: https://studiolab.sagemaker.aws/import/github/ampl/amplcolab/blob/master/authors/fdabrandao/quick-start/nativediet.ipynb
:alt: Open In SageMaker Studio Lab
-More notebooks with examples available on the `AMPL Model Colaboratory `_.
+Many more notebooks with examples are available on the `AMPL Model Colaboratory `_
+and the new book `Hands-On Optimization with AMPL in Python 🐍 `_.
Installation & minimal example
------------------------------
diff --git a/docs/source/quick-start.rst b/docs/source/quick-start.rst
index 83c1209..f764916 100644
--- a/docs/source/quick-start.rst
+++ b/docs/source/quick-start.rst
@@ -67,7 +67,8 @@ Full class reference is given in :ref:`secReferencePython`.
:target: https://studiolab.sagemaker.aws/import/github/ampl/amplcolab/blob/master/authors/fdabrandao/quick-start/nativediet.ipynb
:alt: Open In SageMaker Studio Lab
-There are many more notebooks with examples available on the `AMPL Model Colaboratory `_.
+There are many more notebooks with examples are available on the new book `AMPL Model Colaboratory `_
+and the new book `Hands-On Optimization with AMPL in Python 🐍 `_.
Complete listing
----------------