- Create a new notebook on Google Colab
- Run the following command (2 lines) in a Code cell to install this extension.
!source <(curl -s https://raw.githubusercontent.com/conjure-cp/conjure-notebook/v0.0.10/scripts/install-colab.sh)
%reload_ext conjure
- In the following Code cells Conjure commands will be available.
See a very simple example here: What_number_am_I?
There are a few other simple examples in the ozgurakgun/notebooks repository.
See demo videos made by @ogabek96 on Youtube: https://www.youtube.com/channel/UCqTAq8FiPNV4_xErHgH0rTg
You do not have to use Google Colab to use Conjure Notebook.
In yout favourite Jupyter environment, run the following to install the Conjure Notebook extension. You need to make sure Conjure and its backend solvers are available in your path for this to work. The latest Conjure release can be found on Github, just download the -with-solvers
archieve for your operating system and place its contents in your PATH.
%pip install --quiet git+https://github.com/conjure-cp/[email protected]
%reload_ext conjure