diff --git a/doc/source/modeling-expressions.rst b/doc/source/modeling-expressions.rst index 7a2a4f48c..e09906da1 100644 --- a/doc/source/modeling-expressions.rst +++ b/doc/source/modeling-expressions.rst @@ -625,12 +625,16 @@ these functions. Gurobi 11 defaults to piecewise-linear approximation of these functions as part of its preprocessing. However, Gurobi :ref:`option ` ``alg:global`` (``pre:funcnonlinear``) sets the default to the new MINLP capability --- -`global nonlinear solving `_ via spatial branching:: +`global nonlinear solving `_ via spatial branching: + +.. code-block:: ampl ampl: option gurobi_options 'global=1'; solve; For individual constraints and objectives, the choice of global solving vs -piecewise-linear approximation can be performed via the `.global` suffix:: +piecewise-linear approximation can be performed via the ``.global`` suffix: + +.. code-block:: text pre:funcnonlinear (funcnonlinear, global) Controls how general functions with their constraint's or objective's @@ -648,7 +652,9 @@ See our `Christmas tree decorations Streamlit example