Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
| Download
Project: Testing 18.04
Path: or-tools.ipynb
Views: 828Kernel: Python 3 (system-wide)
OR-Tools on CoCalc
OR-Tools is fast and portable software for combinatorial optimization.
Kernel: Python 3 system-wide
In [1]:
In [2]:
Out[2]:
Number of variables = 2
Number of constraints = 3
Solution:
x = 5.999999999999998
y = 3.9999999999999996
Optimal objective value = 33.99999999999999
In [5]:
In [6]:
Out[6]:
Number of variables = 2
Number of constraints = 2
Solution:
Objective value = 23.0
x = 3.0
y = 2.0
Advanced usage:
Problem solved in 15.000000 milliseconds
Problem solved in 1 iterations
Problem solved in 0 branch-and-bound nodes
In [0]: