Expose MakeIfThenElseCt
function in Python API of the Routing Solver
#3657
Unanswered
arnabadas
asked this question in
Feature requests
Replies: 1 comment
-
You can use Element(condition, [if_false, if_true], target) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What version of OR-Tools and what language are you using?
Version: v9.5
Language: Python
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
Routing Solver
What operating system (Linux, Windows, ...) and version?
Windows 10
What did you do?
Use
MakeIfThenElseCt
function fromconstraint_solver.h
What did you expect to see
MakeIfThenElseCt
should have been exposed in Python like C++ or Java APIWhat did you see instead?
MakeIfThenElseCt
was not exposed in Python APIMake sure you include information that can help us debug (full error message, model Proto).
Anything else we should know about your project / environment
NA
Beta Was this translation helpful? Give feedback.
All reactions