sat: backport README from main

This commit is contained in:
Corentin Le Molgat
2026-01-07 16:19:03 +01:00
parent 8d3645a6cd
commit f72f9eea98

View File

@@ -12,7 +12,7 @@ Below you'll find three examples of Google's CP-SAT solver.
Build and run locally: Build and run locally:
``` ```
bazel run -c opt --cxxopt=-std=c++17 ortools/python:ortools_notebook bazel run -c opt ortools/python:ortools_notebook
``` ```
This will open a jupyter notebook in your browser. This will open a jupyter notebook in your browser.
@@ -20,7 +20,7 @@ This will open a jupyter notebook in your browser.
To use it as a server only, use the command To use it as a server only, use the command
``` ```
bazel run -c opt --cxxopt=-std=c++17 ortools/python:ortools_notebook -- --no-browser bazel run -c opt ortools/python:ortools_notebook -- --no-browser
``` ```
And paste the resulting url in your favorite environment, like visual studio code. And paste the resulting url in your favorite environment, like visual studio code.