In ortools if you have only 0-1 variables you can either use CP-SAT from from ortools.sat.python import cp_model or you can use from ortools.linear_solver impo
In ortools if you have only 0-1 variables you can either use CP-SAT from from ortools.sat.python import cp_model or you can use from ortools.linear_solver impo