diff --git a/docs/source/example/moalg.ipynb b/docs/source/example/moalg.ipynb index 627f3b2b..0bb00136 100644 --- a/docs/source/example/moalg.ipynb +++ b/docs/source/example/moalg.ipynb @@ -16,7 +16,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 5, "metadata": {}, "outputs": [], "source": [ @@ -40,7 +40,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 6, "metadata": {}, "outputs": [ { @@ -62,12 +62,12 @@ "metadata": {}, "source": [ "## Running example: RVEA on DTLZ2 problem\n", - "The following code is used to set up the DTLZ2 problem and the RVEA algorithm. More information about the problem and algorithm can be found in the corresponding section of the documentation." + "The following code is used to set up the [`DTLZ2`](#evox.problems.numerical.dtlz) problem and the [`RVEA`](#evox.algorithms.mo.rvea) algorithm. More information about the problem and algorithm can be found in the corresponding section of the documentation." ] }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 17, "metadata": {}, "outputs": [], "source": [ @@ -89,23 +89,25 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 18, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "tensor(0.4746, device='cuda:0')\n", - "tensor(0.1650, device='cuda:0')\n", - "tensor(0.0902, device='cuda:0')\n", - "tensor(0.0653, device='cuda:0')\n", - "tensor(0.0586, device='cuda:0')\n", - "tensor(0.0564, device='cuda:0')\n", - "tensor(0.0559, device='cuda:0')\n", - "tensor(0.0551, device='cuda:0')\n", + "tensor(0.4481, device='cuda:0')\n", + "tensor(0.1465, device='cuda:0')\n", + "tensor(0.0854, device='cuda:0')\n", + "tensor(0.0647, device='cuda:0')\n", + "tensor(0.0592, device='cuda:0')\n", + "tensor(0.0574, device='cuda:0')\n", + "tensor(0.0562, device='cuda:0')\n", + "tensor(0.0553, device='cuda:0')\n", + "tensor(0.0550, device='cuda:0')\n", "tensor(0.0546, device='cuda:0')\n", - "tensor(0.0544, device='cuda:0')\n" + "tensor(0.0544, device='cuda:0')\n", + "tensor(0.0543, device='cuda:0')\n" ] } ], @@ -117,7 +119,7 @@ " workflow.step()\n", " fit = workflow.algorithm.fit\n", " fit = fit[~torch.isnan(fit).any(dim=1)]\n", - " if i % 10 == 0:\n", + " if i % 9 == 0:\n", " print(igd(fit, pf))" ] },