• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..14-Dec-2021-

algorithms/H14-Dec-2021-282280

constraint_solver/H14-Dec-2021-8,8268,794

contrib/H14-Dec-2021-29,94829,817

examples/H14-Dec-2021-15,63715,594

graph/H14-Dec-2021-787782

linear_solver/H14-Dec-2021-2,4982,485

sat/H14-Dec-2021-5,6205,586

README.mdH A D14-Dec-20211 KiB3628

README.md

1# Introduction
2First and foremost, the Jupyter Notebook is an interactive environment for writing and running code.
3
4# Prerequisite: Python3
5These notebooks are associated with the IPython3 kernel, therefore runs Python3 code.
6Thus, to run these notebooks you'll need Python3 and python ortool package.
7
8Once you have python3 installed, ensure you have the latest pip:
9```sh
10pip3 install --user --upgrade pip
11```
12note: on Ubuntu you can also use: `apt-get install python3-pip`
13
14# Installing Jupyter
15Install Jupyter Notebook using:
16```sh
17pip3 install --user jupyter
18```
19
20Then install our notebooks dependencies:
21```sh
22pip3 install --user plotly numpy svgwrite
23```
24
25# Running the Notebooks
26To run the notebook, run the following command at the Terminal (Mac/Linux) or Command Prompt (Windows):
27```sh
28jupyter notebook
29```
30You should see the notebook dashboard open in your browser.
31
32Then go to your or-tools source directory and try to open a notebook (located in
33examples/notebook).
34
35note: You can run a code cell using Shift-Enter or pressing the `>|` button in the toolbar.
36