Commit Graph

251 Commits

Author SHA1 Message Date
Corentin Le Molgat
9d69d6bb05 base: Add strtoint 2022-04-26 17:54:18 +02:00
Corentin Le Molgat
ef4e252a1e base: update 2022-04-26 17:54:17 +02:00
Corentin Le Molgat
c37f508f54 bazel: format base/BUILD.bazel
* Add path.h
2022-04-26 17:54:17 +02:00
Corentin Le Molgat
fca3456c45 Sync from Google 2022-03-03 14:09:10 +01:00
Mizux Seiha
82264bcca0 base: Fix macros.h 2022-02-24 16:20:36 +01:00
Laurent Perron
9dd7ed7fd1 bump constraint_solver code; remove unused files 2022-02-22 19:25:31 +01:00
Laurent Perron
921db208ba [BASE] add missing API 2022-02-15 17:57:52 +01:00
Corentin Le Molgat
09c5f1534f sync ortools/base 2022-02-11 16:33:41 +01:00
Laurent Perron
d510b97621 add pdlp to the code base; build it with bazel, call it through MPSolver 2022-02-09 10:48:30 +01:00
Laurent Perron
fe04e758b0 add StrongIndex class 2022-02-04 14:18:37 +01:00
Corentin Le Molgat
729ba81219 sync 2022-02-03 16:42:24 +01:00
Corentin Le Molgat
4defaa23ed Export strong_int.h 2022-01-31 18:44:25 +01:00
Laurent Perron
87cc5a1cb1 fix 2022-01-27 17:32:28 +01:00
Corentin Le Molgat
38233dbf7d Sync base/ 2022-01-27 16:33:04 +01:00
Corentin Le Molgat
a40295d79c Sync from google 2022-01-21 17:51:38 +01:00
Corentin Le Molgat
0ba757d7b3 use filelineiter from ortools/util 2022-01-18 11:01:58 +01:00
Corentin Le Molgat
32f3bc53d0 Sync google/github 2022-01-17 15:04:44 +01:00
Corentin Le Molgat
5d47faf9e3 Fix math_opt build 2022-01-17 08:38:21 +01:00
Corentin Le Molgat
1cefc4cbee Bump ortools/base 2022-01-17 08:38:21 +01:00
Laurent Perron
6f5643a07f [BASE] extend status builder 2022-01-08 14:45:38 +01:00
Kevin Greene
2b4a9d8f58 Use bazel workspace target for zlib
Fixes https://github.com/google/or-tools/issues/3060

Without this, linux builds will fail at runtime if z.so is not
installed on the deploy platform. This is problematic for example, when
using rules_docker to create a minimal image for a cc_binary to run.

NOTE: Users who want to use a system-installed version of zlib can still
do so by creating a library in their workspace called `@zlib:zlib` with
`-lz` in its linkopts. This gives flexibility at the workspace level for
choosing how to build zlib.
2022-01-03 17:32:37 -08:00
Laurent Perron
83f331cca5 remove warning 2021-12-22 09:53:00 +01:00
Laurent Perron
b9dd3e47d4 support vmodule 2021-12-19 22:48:51 +01:00
Laurent Perron
20d1e17ab2 add base macros 2021-12-17 10:28:41 +01:00
Laurent Perron
018bf0b556 add missing method 2021-12-11 12:23:20 +01:00
Laurent Perron
560826496b BUILD -> BUILD.bazel 2021-12-06 14:36:13 +01:00
Laurent Perron
18d001912d remove ortools/base/random.h|cc; adapt code everywhere; increase robustness of glop preprocessor 2021-12-06 14:03:19 +01:00
Laurent Perron
1e0e7bb62d remove unused code 2021-11-30 23:04:44 +01:00
Laurent Perron
201a07bb3a [BAZEL] remove windows warning 2021-11-30 10:38:48 +01:00
Laurent Perron
b61d189ffc small improvement 2021-11-30 08:52:56 +01:00
Laurent Perron
499b070eac polish BUILD files 2021-11-29 11:28:07 +01:00
Laurent Perron
73d3873cb5 reformat 2021-11-28 13:00:27 +01:00
Laurent Perron
cd739ce7fd [INIT] move VersionString code to base/version 2021-11-28 12:57:35 +01:00
Laurent Perron
0fc8f3e15e tentative fix for bazel on windows 2021-11-27 22:40:06 +01:00
Laurent Perron
5e9d7ab240 simplify random code 2021-11-27 21:55:58 +01:00
Laurent Perron
0fb4626592 missing timer method 2021-11-22 13:03:39 +01:00
Laurent Perron
0d96b0dffd fix windows compilation 2021-11-19 18:57:11 +01:00
Corentin Le Molgat
cfa0eec941 Add lp_parser 2021-11-19 14:02:44 +01:00
Laurent Perron
758ead91e9 Add version info on python, java, .NET; add patch info on C++, #2861 2021-10-22 10:08:28 +02:00
Mizux Seiha
5f34fec582 Fix compile 2021-10-16 10:43:27 +02:00
Laurent Perron
1c512fd12d change a bit the export code: propagate effect 2021-09-07 11:53:01 +02:00
Andrew Scherkus
06010a46b6 fix logging timestamps
The old code was incorrectly casting a double milliseconds value to
the integer seconds time_t type, which caused incorrect month/day and
timestamp values in log output.

Instead use absl::ToTimespec() to access the tv_sec and tv_nsec values
directly.
2021-07-06 13:16:53 -04:00
Laurent Perron
ac89b59db9 remove obsolete LOG macro 2021-05-25 23:05:49 +02:00
Corentin Le Molgat
0b93e466e4 Fix vlog_is_on.h indent 2021-04-16 00:23:36 +02:00
Mizux Seiha
a5839a8c19 logging: Add include for nullptr_t 2021-04-12 13:27:18 +02:00
Mizux Seiha
011244246a fixup 2021-04-12 12:48:31 +02:00
Mizux Seiha
6cc8e2bcf5 fix logging on ARM64 and Centos 2021-04-12 12:17:51 +02:00
Laurent Perron
3e89e91f1f more int64->int64_t conversion; remove typedefs 2021-04-11 11:27:33 +02:00
Mizux Seiha
6201d6870c base: [u]int32 -> [u]int32_t
note: sed -i 's/\b\([u]\?int32\)\b/\1_t/g' *.h *.cc
2021-04-05 13:47:38 +02:00
Corentin Le Molgat
fb519c51d1 Sync google <=> github 2021-04-02 10:13:40 +02:00