add new python example; add simple typing annotations
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user