add new python example; add simple typing annotations
This commit is contained in:
@@ -33,7 +33,7 @@ _PARAMS = flags.DEFINE_string(
|
||||
)
|
||||
|
||||
|
||||
def spread_robots(num_robots: int, room_size: int, params: str):
|
||||
def spread_robots(num_robots: int, room_size: int, params: str) -> None:
|
||||
"""Optimize robots placement."""
|
||||
model = cp_model.CpModel()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user