reformat bazel java code; CP-SAT: fix corner case in presolve, zero very small coefficients in translate from math model, more parameter validation
This commit is contained in:
@@ -44,9 +44,9 @@ def code_sample_java(name):
|
||||
],
|
||||
deps = [
|
||||
"//ortools/algorithms/java:knapsacksolver",
|
||||
"//ortools/java/com/google/ortools:Loader"
|
||||
"//ortools/java/com/google/ortools:Loader",
|
||||
],
|
||||
)
|
||||
)
|
||||
|
||||
native.sh_test(
|
||||
name = name + "_java_test",
|
||||
|
||||
@@ -12,11 +12,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
|
||||
declare -r DIR="${TEST_SRCDIR}/com_google_ortools/ortools/algorithms/samples"
|
||||
|
||||
function test::ortools::code_samples_algorithms_java() {
|
||||
"${DIR}/$1_java"
|
||||
}
|
||||
|
||||
test::ortools::code_samples_algorithms_java $1
|
||||
test::ortools::code_samples_algorithms_java $1
|
||||
|
||||
Reference in New Issue
Block a user