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:
Laurent Perron
2023-01-05 13:38:42 +01:00
parent bf504d4f8f
commit cf53ee3c9f
41 changed files with 384 additions and 208 deletions

View File

@@ -98,7 +98,7 @@ def code_sample_java(name):
],
deps = [
"//ortools/graph/java:graph",
"//ortools/java/com/google/ortools:Loader"
"//ortools/java/com/google/ortools:Loader",
],
)

View File

@@ -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/graph/samples"
function test::ortools::code_samples_graph_java() {
"${DIR}/$1_java"
}
test::ortools::code_samples_graph_java $1
test::ortools::code_samples_graph_java $1