backport from main

* rename swig files .i in .swig
* update constraint_solver and routing
* backport math_opt changes
* move dynamic loading to ortools/third_party_solvers
This commit is contained in:
Corentin Le Molgat
2025-07-23 15:07:49 +02:00
committed by Mizux Seiha
parent 03e2551e61
commit a7f49a2585
202 changed files with 4734 additions and 7260 deletions

View File

@@ -586,8 +586,7 @@ PYBIND11_MODULE(model_builder_helper, m) {
absl::StrCat("Evaluating a BoundedLinearExpression '",
self.ToString(),
"'instance as a Boolean is "
"not supported.")
.c_str());
"not supported."));
return false;
})
.def("__str__", &BoundedLinearExpression::ToString)