Skip to content
Discussion options

You must be logged in to vote

your if and elif use the same condition this is weird to me...

if cond 1:
  ... #cond1 valid
elif cond 2:
  ... #not cond1 and cond2
else
  .... # default not cond1 nor cond2

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Debom13
Comment options

@Debom13
Comment options

Answer selected by Debom13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Needed Modeling/Usage problem Lang: Python Python wrapper issue Solver: Routing Uses the Routing library and the original CP solver
2 participants