From 528badffd9b9576c8dc283749a2b06c600519a4a Mon Sep 17 00:00:00 2001 From: Laurent Perron Date: Fri, 5 Jul 2024 14:51:46 +0200 Subject: [PATCH] fix --- ortools/sat/docs/scheduling.md | 2 +- ortools/sat/samples/interval_relations_sample_sat.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ortools/sat/docs/scheduling.md b/ortools/sat/docs/scheduling.md index 659db50dce..19a8b5264c 100644 --- a/ortools/sat/docs/scheduling.md +++ b/ortools/sat/docs/scheduling.md @@ -490,7 +490,7 @@ def interval_relations_sample_sat(): model = cp_model.CpModel() horizon = 100 - # An optional interval can be created from three 1-var affine expressions. + # An interval can be created from three 1-var affine expressions. start_var = model.new_int_var(0, horizon, "start") duration = 10 # Python CP-SAT code accept integer variables or constants. end_var = model.new_int_var(0, horizon, "end") diff --git a/ortools/sat/samples/interval_relations_sample_sat.py b/ortools/sat/samples/interval_relations_sample_sat.py index 1ff83fe565..81b7fe89a6 100644 --- a/ortools/sat/samples/interval_relations_sample_sat.py +++ b/ortools/sat/samples/interval_relations_sample_sat.py @@ -22,7 +22,7 @@ def interval_relations_sample_sat(): model = cp_model.CpModel() horizon = 100 - # An optional interval can be created from three 1-var affine expressions. + # An interval can be created from three 1-var affine expressions. start_var = model.new_int_var(0, horizon, "start") duration = 10 # Python CP-SAT code accept integer variables or constants. end_var = model.new_int_var(0, horizon, "end")