Files
ortools-clone/ortools/linear_solver/samples/BUILD.bazel

58 lines
1.5 KiB
Python
Raw Normal View History

2024-01-04 13:43:15 +01:00
# Copyright 2010-2024 Google LLC
2022-06-20 18:27:09 +02:00
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
load(":code_samples.bzl", "code_sample_cc", "code_sample_java", "code_sample_py")
2020-08-28 17:51:53 +02:00
2022-09-12 11:28:52 +02:00
# Linear Solver
2020-12-17 23:42:34 +01:00
code_sample_cc(name = "assignment_mip")
2020-08-28 17:51:53 +02:00
2020-12-17 23:42:34 +01:00
code_sample_cc(name = "basic_example")
2020-12-07 14:57:42 +01:00
2020-12-17 23:42:34 +01:00
code_sample_cc(name = "bin_packing_mip")
2020-08-28 17:51:53 +02:00
2020-12-17 23:42:34 +01:00
code_sample_cc(name = "integer_programming_example")
2020-08-28 17:51:53 +02:00
2020-12-17 23:42:34 +01:00
code_sample_cc(name = "linear_programming_example")
2020-08-28 17:51:53 +02:00
2020-12-17 23:42:34 +01:00
code_sample_cc(name = "mip_var_array")
2020-08-28 17:51:53 +02:00
2020-12-17 23:42:34 +01:00
code_sample_cc(name = "multiple_knapsack_mip")
2020-08-28 17:51:53 +02:00
2020-12-17 23:42:34 +01:00
code_sample_cc(name = "simple_lp_program")
2020-08-28 17:51:53 +02:00
2020-12-17 23:42:34 +01:00
code_sample_cc(name = "simple_mip_program")
code_sample_cc(name = "stigler_diet")
2022-09-12 11:28:52 +02:00
# Model Builder
code_sample_java(name = "AssignmentMb")
code_sample_java(name = "BinPackingMb")
code_sample_java(name = "CloneModelMb")
code_sample_java(name = "SimpleLpProgramMb")
code_sample_java(name = "SimpleMipProgramMb")
2022-09-12 11:28:52 +02:00
code_sample_py(name = "assignment_mb")
code_sample_py(name = "bin_packing_mb")
2023-10-24 13:33:46 +02:00
code_sample_py(name = "clone_model_mb")
2022-09-12 11:28:52 +02:00
code_sample_py(name = "simple_lp_program_mb")
code_sample_py(name = "simple_mip_program_mb")