This commit is contained in:
Corentin Le Molgat
2024-09-27 13:02:36 +02:00
parent 820be10d0f
commit 3c7bc49090
2 changed files with 14 additions and 8 deletions

View File

@@ -11,9 +11,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.
load(":code_samples.bzl",
"code_sample_cc_go_py", "code_sample_cc_py",
"code_sample_go", "code_sample_java", "code_sample_py")
load(
":code_samples.bzl",
"code_sample_cc_go_py",
"code_sample_cc_py",
"code_sample_go",
"code_sample_java",
"code_sample_py",
)
code_sample_py(name = "all_different_except_zero_sample_sat")
@@ -36,6 +41,7 @@ code_sample_py(name = "bool_and_int_var_product_sample_sat")
code_sample_cc_go_py(name = "bool_or_sample_sat")
code_sample_go(name = "boolean_product_sample_sat")
code_sample_py(name = "boolean_product_sample_sat")
code_sample_cc_go_py(name = "channeling_sample_sat")

View File

@@ -49,11 +49,11 @@ def code_sample_go(name):
size = "small",
srcs = [name + ".go"],
deps = [
"//ortools/sat:cp_model_go_proto",
"//ortools/sat:sat_parameters_go_proto",
"//ortools/sat/go/cpmodel",
"@com_github_golang_glog//:glog",
"@org_golang_google_protobuf//proto",
"//ortools/sat:cp_model_go_proto",
"//ortools/sat:sat_parameters_go_proto",
"//ortools/sat/go/cpmodel",
"@com_github_golang_glog//:glog",
"@org_golang_google_protobuf//proto",
],
)