Skip to content

Instantly share code, notes, and snippets.

@mlabonne
Last active April 30, 2022 14:24
Show Gist options
  • Save mlabonne/45ce5fb08a69ee43c7984db77f1f9283 to your computer and use it in GitHub Desktop.
Save mlabonne/45ce5fb08a69ee43c7984db77f1f9283 to your computer and use it in GitHub Desktop.
from ortools.sat.python import cp_model
# Instantiate model and solver
model = cp_model.CpModel()
solver = cp_model.CpSolver()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment