Commit Graph

306 Commits

Author SHA1 Message Date
Laurent Perron
9e9c8ed874 read json too 2022-05-02 16:52:35 +02:00
Laurent Perron
1b7ea70824 fix 2022-03-31 13:01:55 +02:00
Laurent Perron
800de6eac0 reformat 2022-03-31 11:53:28 +02:00
Laurent Perron
94b4d0ebf3 fix 2022-03-31 11:40:33 +02:00
Laurent Perron
2da1223c29 fix 2022-03-31 11:39:39 +02:00
Laurent Perron
973445dfba fix fp_roundtrip_conv 2022-03-30 18:36:25 +02:00
Laurent Perron
18d3f72160 run python sat samples with bazel 2022-03-30 13:12:32 +02:00
Laurent Perron
cdfce146ff stl includes; new library; optional_proto python bazel entry 2022-03-29 17:58:33 +02:00
Laurent Perron
c82cfdc9ad remove map_util from most of the code; absl::make_unique and absl::optional -> stl version 2022-03-09 09:08:40 +01:00
Corentin Le Molgat
35ef175cac Sync from google 2022-03-02 22:10:54 +01:00
Corentin Le Molgat
0466c9f6bf python: remove __init__.py
now you'll need to always use a wheel package
avoid some issue when trying to run venv from root dir
e.g. `./build/python/venv/bin/python -c "from ortools.pdlp import solve_log_pb2"`
2022-02-28 08:52:31 +01:00
Laurent Perron
9dd7ed7fd1 bump constraint_solver code; remove unused files 2022-02-22 19:25:31 +01:00
Laurent Perron
6246f8f63c still used by routing.i 2022-02-22 18:57:40 +01:00
Laurent Perron
833ae17e99 Use pybind11 instead for swig for sorted_interval_list and cp_sat swig_helper; speed up CP-SAT presolve; add missing std includes 2022-02-22 18:33:45 +01:00
Laurent Perron
951e8bbc1e bump pdlp; add log to linear_solver proto; fix bug in CP-SAT 2022-02-21 17:26:34 +01:00
Laurent Perron
2c6aed6cee [UTIL] add status_macros.h; add template to strong integers 2022-02-15 17:59:20 +01:00
Laurent Perron
321d02c17c more strong integer types; use them in CP-SAT; polish shaving code; remove 1 overflow in cuts 2022-02-07 14:31:18 +01:00
Laurent Perron
fe04e758b0 add StrongIndex class 2022-02-04 14:18:37 +01:00
Laurent Perron
316c9e232b add reset api on time limit 2022-02-02 14:57:52 +01:00
Laurent Perron
ce36b4bb6d fix 2022-01-23 21:46:13 +01:00
bollhals
8e742dca52 allow unsafe code and use it to avoid copying to temp array 2022-01-23 20:47:07 +01:00
Laurent Perron
8644ffa1ea reformat 2022-01-21 12:00:35 +01:00
Laurent Perron
58659bd77e [CP-SAT] fix memory leak in C# 2022-01-20 13:30:34 +01:00
Laurent Perron
f481aa23a9 Merge pull request #3093 from bollhals/dotnet_serialization
simplify reading from returned buffer
2022-01-20 08:29:42 +01:00
bollhals
ca050c0c50 simplify reading from returned buffer
use arraypool for copy to buffer
avoid calling CalculateSize twice
2022-01-19 01:23:27 +01:00
Corentin Le Molgat
0ba757d7b3 use filelineiter from ortools/util 2022-01-18 11:01:58 +01:00
Corentin Le Molgat
904f9c67cd Sync google/github 2022-01-17 15:47:25 +01:00
bollhals
e2054b3cb5 - only use domain object if really needed
- upgrade to C# 9
- replace some null checks with "is (not) null"
2022-01-12 21:54:53 +01:00
Laurent Perron
0cab5e45ef [UTIL] speedup domains 2022-01-08 14:45:16 +01:00
Corentin Le Molgat
354e350004 Sync C# indent 2022-01-03 09:49:47 +01:00
Laurent Perron
79f2c45c33 [CP-SAT] Use AddExactly/AtMostOne in examples/samples; add int_square presolve; add multiplication constraint with target = left * right 2022-01-01 19:26:39 +01:00
Laurent Perron
5f03dc4993 reformat BUILD files 2021-12-06 15:39:18 +01:00
Laurent Perron
560826496b BUILD -> BUILD.bazel 2021-12-06 14:36:13 +01:00
Corentin Le Molgat
5f567735d7 cmake: Fix dotnet.cmake and path 2021-12-03 14:20:19 +01:00
Mizux Seiha
72ebd8b748 cmake: rework .Net support 2021-12-03 14:20:19 +01:00
Mizux Seiha
976f227b67 cmake: rework java 2021-12-03 14:20:19 +01:00
Mizux Seiha
655eec5260 cmake: rework python 2021-12-03 14:20:19 +01:00
Laurent Perron
2f4750184d [BAZEL] remove windows warning in ortools/util 2021-12-02 12:03:07 +01:00
Corentin Le Molgat
8c14f2b585 bazel: Fix compile 2021-11-29 09:34:36 +01:00
Corentin Le Molgat
393686e54a bazel: Fix re2.patch 2021-11-29 08:43:23 +01:00
Laurent Perron
ac6641f64d add missing include 2021-11-28 12:55:55 +01:00
Laurent Perron
70bce119e6 [UTIL] speed improvement 2021-11-23 21:37:43 +01:00
Laurent Perron
a90184b091 [UTIL] add CapAddTo saturated arithmetic method 2021-11-13 08:37:25 +01:00
Laurent Perron
bb142a615d improve precision of the domain modulo computation 2021-10-26 16:39:35 +02:00
Laurent Perron
949b4f82d3 fix #2864 2021-10-22 11:26:29 +02:00
Laurent Perron
55964b2734 add two getters on the solver logging class 2021-10-08 14:06:58 +02:00
Laurent Perron
6c6e9d3979 remove .NET warning 2021-10-03 11:52:13 +02:00
Corentin Le Molgat
c48750a994 util: Sync proto_tools 2021-09-24 18:46:12 +02:00
Laurent Perron
fdadc6aeb2 remove autodoc 2021-09-23 11:34:38 +02:00
Laurent Perron
83007b4c00 bump version to 9.1; regenerate doc 2021-09-20 15:57:27 +02:00