Commit Graph

526 Commits

Author SHA1 Message Date
corentinl
784c4fecb4 git: renormalize some files
wrong clrf
2025-12-15 17:06:07 +01:00
Guillaume Chatelet
b880e0fb64 Use new bintest framework (#4928) 2025-12-02 15:33:12 +01:00
Guillaume Chatelet
5e06a6c7e2 [bazel] Update examples 2025-10-16 11:50:21 +02:00
Corentin Le Molgat
c0ad2c2914 examples: remove deprecated PY3 flag 2025-09-17 16:27:22 +02:00
Guillaume Chatelet
5ffb66cdce Fix bazel load rules 2025-07-24 10:10:29 +02:00
Corentin Le Molgat
f0d0fe71ba examples: backport from main 2025-07-23 23:12:34 +02:00
Laurent Perron
a4b37b6465 large sync with main 2025-03-07 10:33:36 +01:00
Laurent Perron
be5b7532b2 fix #4565 2025-02-25 17:08:47 +01:00
Corentin Le Molgat
a66a6daac7 Bump Copyright to 2025 2025-01-10 11:35:44 +01:00
Laurent Perron
754d6a4d0f polish python examples: use string interpolations; remove many mypy warnings 2024-07-26 00:49:56 +02:00
Laurent Perron
ad3e00e441 remove mypy issues 2024-07-24 23:56:06 +02:00
Laurent Perron
905770c995 add new python example; add simple typing annotations 2024-07-23 16:34:51 +02:00
Laurent Perron
1a8e148aa6 reduce example runtime 2024-07-22 17:36:11 +02:00
Laurent Perron
f24d33e921 new examples 2024-07-22 14:18:05 +02:00
Laurent Perron
509edd40c4 new example: pell equation 2024-07-22 11:31:53 +02:00
Laurent Perron
21a75638c2 partial sync with main (without the routing part) 2024-07-12 13:56:11 +02:00
Laurent Perron
d28edd701c [CP-SAT] code cleanup; more pseudo-cost experimental code; add objective best bound callback 2024-05-30 10:52:46 +02:00
Laurent Perron
4cbd27dae9 sync with main 2024-05-30 10:52:42 +02:00
dongjinlong
a1ed8e3e85 chore: remove repetitive words in comments
Signed-off-by: dongjinlong <dongjinlong@outlook.com>
2024-05-30 10:51:55 +02:00
Laurent Perron
02a53ee8d0 selecting a subset of pieces 2024-05-30 10:51:54 +02:00
Laurent Perron
0ca8c87c3c new example 2024-05-30 10:51:54 +02:00
Laurent Perron
511bf047a7 backport cp-sat code from main 2024-05-30 10:51:53 +02:00
Mizux Seiha
1a5a6a1d80 cmake: rework add_python_example 2024-01-17 16:56:26 +01:00
Mizux Seiha
a76bf1c5dd bump license boilerplate 2024-01-04 13:43:15 +01:00
Laurent Perron
5b911b1169 [CP-SAT] add ~operator for the logical negation in C++ and Python; fix a bug in C# 2023-12-15 14:10:44 +01:00
Laurent Perron
0bb7d0c58b Merge pull request #3966 from rte-france/feature/xpress_only
Improve the Xpress interface and add dynamic loading of the Xpress library
2023-12-11 11:48:24 +01:00
Laurent Perron
afa29bc06a polish examples 2023-12-03 16:59:16 +01:00
Florian OMNES
e179c8b847 Feature/xpress only (#115)
* remove python script

* remove RTE actions

* fix test_xpress_interface.cc

* remove callback_xpress.py

* revert writing colnames and rownames

* accept suggestion from Mizux

* clean

* change cmake/README.md

* try fix build bazel

* try fix build bazel add MPSWriteError.h

* xpress tests gracefully exit if Xpress not found

* add integer and linear programming test for dotnet python and java

* remove MPSWriteError

* try fix Window build

* remove useless line from CMakeLists.txt

* try fix test under windows

* reformat

* use XPRESS_LP instead of XPRESS for linear programming examples

* tools: add --platform arg when possible

make script more resilient/cross-platform

* [CP-SAT] convert to PEP8 convention

* use XPRSmipoptimize and XPRSlpoptimize instead of XPRSminim and XPRSmaxim (#114)

* use XPRSmipoptimize and XPRSlpoptimize instead of XPRSminim and XPRSmaxim

* clean xpress/environment files

* accept changes: empty char* parameter for XPRS*optimize

* Add test on number iterations with LP basis

* fix gtests flags

* refactor

* suggestions by @flomnes

* remove unwanted files

---------

Co-authored-by: Andrea Sgattoni <andrea.sgattoni@rte-france.com>
Co-authored-by: Laurent Perron <lperron@google.com>
Co-authored-by: Corentin Le Molgat <corentinl@google.com>
Co-authored-by: Andrea Sgattoni <andrea.sgattoni@gmail.com>
2023-11-20 12:43:41 +01:00
Laurent Perron
5b6c803db3 [CP-SAT] convert to PEP8 convention 2023-11-16 19:46:56 +01:00
Andrea Sgattoni
18468fe1e6 add integer and linear programming test for dotnet python and java 2023-11-13 15:29:08 +01:00
Andrea Sgattoni
53f1aa0013 isolate xpress tests 2023-10-27 09:42:36 +02:00
Andrea Sgattoni
3c4a76e68f update xpress interface with dynamic load 2023-10-27 09:42:35 +02:00
Laurent Perron
f32c576db7 fix #3949 2023-10-16 15:43:30 +02:00
Laurent Perron
d07127d40a [CP-SAT] revisit search heuristics, lns workers search heuristics; scheduling propagation 2023-10-02 19:52:11 +02:00
Laurent Perron
f9540e8a6b bake in max performance parameters 2023-09-21 13:08:03 +02:00
Corentin Le Molgat
8f5f18686e examples: cleanup python samples 2023-07-18 13:55:36 +02:00
Corentin Le Molgat
c368a4d9fa example: Fix python formating 2023-07-13 14:28:36 +02:00
Laurent Perron
ab19570cd4 add one test in examples/python bazel 2023-07-10 11:34:22 -07:00
Laurent Perron
73b081d714 test rcpsp_sat with bazel 2023-07-10 11:00:55 -07:00
Laurent Perron
8c6898da25 use tuples instead of lists for arcs in CP-SAT AddCircuit 2023-07-10 14:38:58 +02:00
Laurent Perron
84e1ad7f0c enable more python tests in cmake; add rule to run python examples with args in bazel 2023-07-05 09:06:55 +02:00
Laurent Perron
32175c9c3b remove pywrap prefix for pybind11 generated modules 2023-07-03 12:46:51 +02:00
Laurent Perron
84ec414e61 use black on examples/python 2023-07-01 06:06:53 +02:00
Laurent Perron
c3fdb12908 Switch algorithms and scheduling python libraries from swig to pybind11; switch protobuf support from forced serialization to pybind11_protobuf -- with patch; [CP-SAT] rewrite cut management; reformat samples with black 2023-06-30 22:49:35 +02:00
Laurent Perron
a743431365 start reformating with black 2023-06-27 14:21:34 +02:00
Corentin Le Molgat
5ce691ed40 cmake: Add License header 2023-05-31 11:20:28 +02:00
Laurent Perron
830ef3dc0b improve knapsack_2d_sat example 2023-05-13 10:16:00 +02:00
Mizux Seiha
2de7d6fbac bazel: Fix build 2023-04-03 11:06:28 +02:00
Laurent Perron
1d061ed19e cleanup examples/python 2023-03-03 18:55:16 +04:00
Laurent Perron
dbd5a69471 use new logging flags 2023-02-17 15:17:12 +01:00