add new python example; add simple typing annotations

This commit is contained in:
Laurent Perron
2024-07-23 14:07:41 +02:00
parent 08e9085d36
commit 905770c995
24 changed files with 111 additions and 27 deletions

View File

@@ -55,7 +55,7 @@ def build_model():
return x, y, profits
def solve_with_cp_sat(x, y, profits):
def solve_with_cp_sat(x, y, profits) -> None:
"""Solves the problem with the CP-SAT solver."""
model = cp_model.CpModel()