Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lperron committed Jul 5, 2024
1 parent 4092d13 commit 528badf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ortools/sat/docs/scheduling.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion ortools/sat/samples/interval_relations_sample_sat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 528badf

Please sign in to comment.