Commit Graph

525 Commits

Author SHA1 Message Date
Laurent Perron
6f2a66de40 fix #4565 2025-02-25 12:32:58 +01:00
Laurent Perron
660044eeb3 simplify rcpsp example; add string_view to fap code 2025-02-19 13:30:12 +01:00
Arnab Animesh Das
5261ee4398 Change all instances 2025-01-28 03:07:08 +05:30
Parker Conrad
b5718800eb docs: fix typo in shift_scheduling_sat.py 2025-01-13 07:57:02 -08:00
Parker Conrad
5ebaddb648 docs: fix a typo in shift_scheduling_sat.py 2025-01-12 22:22:01 -08:00
Corentin Le Molgat
c34026b101 Bump copyright to 2025
note: done using
```sh
git grep -l "2010-2024 Google" | xargs sed -i 's/2010-2024 Google/2010-2025 Google/'
```
2025-01-10 11:33:35 +01:00
Laurent Perron
1430011519 polish python examples: use string interpolations; remove many mypy warnings 2024-07-25 15:46:57 -07:00
Laurent Perron
c0c709c0bc remove mypy issues 2024-07-24 14:54:57 -07:00
Laurent Perron
5ab943e0b5 add new python example; add simple typing annotations 2024-07-23 14:07:41 +02:00
Laurent Perron
07634d5417 reduce example runtime 2024-07-22 17:33:36 +02:00
Laurent Perron
510e2408ad add new examples 2024-07-22 14:03:23 +02:00
Laurent Perron
db0c467e03 new example: pell equation 2024-07-22 11:30:12 +02:00
Corentin Le Molgat
7e8fef2003 python: fixup examples 2024-06-24 15:44:16 +02:00
Laurent Perron
a5c9b75502 [CP-SAT] code cleanup; more pseudo-cost experimental code; add objective best bound callback 2024-04-29 16:25:06 +02:00
Corentin Le Molgat
660425f05a python: Fix last routing_enums_pb2 call 2024-04-19 10:41:28 +02:00
Mizux Seiha
be220948a3 python: run black on all files 2024-04-12 17:17:40 +02:00
Corentin Le Molgat
c1138a3d73 bazel: bump rules_python to 0.31.0 2024-04-02 08:52:35 +02:00
dongjinlong
48a06562fd chore: remove repetitive words in comments
Signed-off-by: dongjinlong <dongjinlong@outlook.com>
2024-03-26 22:56:14 +08:00
Laurent Perron
38a4b5421a selecting a subset of pieces 2024-03-22 14:42:10 +01:00
Laurent Perron
2be27426e3 new pentominoes_sat.py example 2024-03-22 13:57:02 +01:00
Laurent Perron
61914c7c0b minor reindent; fix binpacking_2d_sat corner case 2024-03-14 15:04:39 +01: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
Laurent Perron
ebb02b4f8e polish python examples 2023-02-17 13:59:43 +01:00