Skip to content

Commit

Permalink
Merge pull request #574 from conjure-cp/add-notebook-docs
Browse files Browse the repository at this point in the history
Add 5 more notebook style tutorials, thanks @sasha704!
  • Loading branch information
ozgurakgun committed Jun 13, 2023
2 parents 6843c8c + 266fb16 commit 8e81178
Show file tree
Hide file tree
Showing 7 changed files with 2,223 additions and 1,918 deletions.
11 changes: 9 additions & 2 deletions docs/tutorials-notebook.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,20 @@
Tutorials using Conjure notebook
================================


We demonstrate the use of Conjure for some small problems.

See `conjure-notebook repository <https://github.com/conjure-cp/conjure-notebook>`_ for details.
Tutorials in this section are a copy of those in the tutorials section.
They are adapted to use the notebook extension for better interactivity.
We might add new tutorials using this style in the future.

See `conjure-notebook repository <https://github.com/conjure-cp/conjure-notebook>`_ for details.

.. toctree::
:maxdepth: 1

tutorials/notebooks/KnapsackProblem
tutorials/notebooks/NurseRostering
tutorials/notebooks/Futoshiki
tutorials/notebooks/Semigroups,_Monoids_and_Groups
tutorials/notebooks/Handcrafting_Instance_Generators_in_Essence
tutorials/notebooks/SimplePermutations
835 changes: 396 additions & 439 deletions docs/tutorials/notebooks/Futoshiki.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/tutorials/notebooks/KnapsackProblem.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"id": "5I6cwwqhH19R"
},
"source": [
"Original [The Knapsack Problem](https://conjure.readthedocs.io/en/latest/tutorials.html#the-knapsack-problem) by Saad Attieh and Christopher Stone. Adapted by Alex Gallagher."
"Original [The Knapsack Problem](https://conjure.readthedocs.io/en/latest/tutorials/knapsack.html) by Saad Attieh and Christopher Stone. Adapted by Alex Gallagher."
]
},
{
Expand Down Expand Up @@ -90,7 +90,7 @@
"id": "fU4y3zCXMNgX"
},
"source": [
"##Model Explained"
"## Model Explained"
]
},
{
Expand Down
1,439 changes: 1,181 additions & 258 deletions docs/tutorials/notebooks/NurseRostering.ipynb

Large diffs are not rendered by default.

598 changes: 202 additions & 396 deletions docs/tutorials/notebooks/Semigroups,_Monoids_and_Groups.ipynb

Large diffs are not rendered by default.

683 changes: 245 additions & 438 deletions docs/tutorials/notebooks/SimplePermutations.ipynb

Large diffs are not rendered by default.

0 comments on commit 8e81178

Please sign in to comment.