Commit Graph

1808 Commits

Author SHA1 Message Date
Laurent Perron
4348795b12 fix example 2024-11-17 17:29:23 +01:00
Corentin Le Molgat
fc24e25cb3 backport cleanup from main 2024-11-15 14:42:52 +01:00
Laurent Perron
b899e25cec [CP-SAT] fix a few fuzzer bugs; preserve a bit more hints during presolve; change max_clique heuristics used in presolve 2024-11-15 07:30:45 +01:00
Corentin Le Molgat
8a996d7e68 backport main/ 2024-10-14 16:47:46 +02:00
Laurent Perron
fd6d789f1a fix java 2024-10-09 14:02:15 +02:00
Corentin Le Molgat
0b2ecb11d3 cmake: fix examples/tests/ configure 2024-10-07 10:02:36 +02:00
Corentin Le Molgat
c0014c1c9a examples: sync notebooks 2024-08-12 13:05:53 +02: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
Corentin Le Molgat
d4d86d36c4 examples: add service example 2024-07-12 16:22:07 +02:00
Corentin Le Molgat
7ad3909af3 notebook: sync 2024-07-12 16:21:51 +02:00
Laurent Perron
21a75638c2 partial sync with main (without the routing part) 2024-07-12 13:56:11 +02:00
Mizux Seiha
e3c7c30b89 update notebooks 2024-05-30 10:52:46 +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
ead738883c remove references to logtostderr 2024-05-30 10:52:45 +02:00
Laurent Perron
4b9596ddf8 improve example 2024-05-30 10:52:44 +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
Corentin Le Molgat
c76a9a424a backport example/ from main 2024-05-30 10:51:54 +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
Corentin Le Molgat
7050ad3fc9 cmake: rework java helper functions 2024-01-18 11:22:38 +01:00
Corentin Le Molgat
dd6da5bf0f cmake: rework dotnet helper functions 2024-01-18 11:22:38 +01:00
Mizux Seiha
1a5a6a1d80 cmake: rework add_python_example 2024-01-17 16:56:26 +01:00
Mizux Seiha
dec772d810 cmake: rework add_cxx_test 2024-01-17 13:42:12 +01:00
Mizux Seiha
adf0e29582 cmake: rework add_cxx_example
* Add mandatory FILE_NAME option
* Add COMPONENT_NAME option
2024-01-17 12:03:09 +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
Laurent Perron
2913419570 Change proto to/from file API to use absl::StatusOr; add reader/writer proto_file to model_builder 2023-11-20 16:13:18 +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
fa2475f528 Merge branch 'google/main' into feature/change_SetStartingLpBasis 2023-11-14 17:57:32 +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
4627ddf948 xpress tests gracefully exit if Xpress not found 2023-11-13 15:00:53 +01:00
Corentin Le Molgat
43e400c4f2 tools: update notebooks 2023-11-13 10:51:25 +01:00
Andrea Sgattoni
73a0132844 change cmake/README.md 2023-11-09 17:06:17 +01:00
Andrea Sgattoni
6d2a0e3df0 Merge branch 'google/main' into feature/xpress_only_RTE 2023-11-09 10:17:43 +01:00
Laurent Perron
3706a75256 fix bounds 2023-11-08 13:48:26 +01:00
Andrea Sgattoni
3c53b49217 ignore a test if using Windows 2023-11-07 16:06:18 +01:00
Andrea Sgattoni
f48946dd78 try increase timeout for xpress SetHint test 2023-11-07 14:48:49 +01:00
Andrea Sgattoni
d607131ed8 Merge branch 'google/main' into feature/xpress_only_RTE 2023-11-06 09:39:37 +01:00
Laurent Perron
eb32e1f190 New C# CP-SAT example: CoverRectangle 2023-10-31 10:20:56 +01:00
Andrea Sgattoni
d3bc4e8fe9 Merge branch 'google/main' into feature/xpress_only_RTE 2023-10-27 15:22:08 +02:00