We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b2f99b commit 244d3a7Copy full SHA for 244d3a7
1 file changed
ext/or-tools/constraint.cpp
@@ -9,6 +9,7 @@
9
using operations_research::Domain;
10
using operations_research::sat::BoolVar;
11
using operations_research::sat::Constraint;
12
+using operations_research::sat::TableConstraint;
13
using operations_research::sat::CpModelBuilder;
14
using operations_research::sat::CpSolverResponse;
15
using operations_research::sat::CpSolverStatus;
@@ -103,6 +104,8 @@ void init_constraint(Rice::Module& m) {
103
104
}
105
});
106
107
+ Rice::define_class_under<TableConstraint, Constraint>(m, "SatTableConstraint");
108
+
109
rb_cBoolVar = Rice::define_class_under<BoolVar>(m, "SatBoolVar")
110
.define_method("name", &BoolVar::Name)
111
.define_method("index", &BoolVar::index)
0 commit comments