Skip to content

Commit

Permalink
Multi-obj documentation: image #239
Browse files Browse the repository at this point in the history
  • Loading branch information
glebbelov committed Jun 4, 2024
1 parent 9f857c0 commit c89ce85
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/source/images/berg-tal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion doc/source/modeling-mo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
Multiple objectives
----------------------------------

.. image:: images/berg-tal.svg
:width: 200
:align: right

To consider multiple objectives in an AMPL model, use
:ref:`solver option <solver-options>` ``obj:multi``.
Otherwise, only the 1st objective is considered
Expand All @@ -18,7 +22,7 @@ Otherwise, only the 1st objective is considered
See the
:ref:`Multi-objective AMPL Colab notebooks <https://colab.ampl.com/tags/multiple-objectives.html>`
`Multi-objective AMPL Colab notebooks <https://colab.ampl.com/tags/multiple-objectives.html>`_
for examples.


Expand All @@ -44,3 +48,4 @@ as described in the ``obj:multi`` option description.
S[i] * x[i, t]
suffix objpriority (2-e)*S_range + 1 + S[i] - min {j in I} S[j];
Suffixes ``.objabstol`` and ``.objreltol`` allow for objective degradation.

0 comments on commit c89ce85

Please sign in to comment.