Commit Graph

1789 Commits

Author SHA1 Message Date
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
Andrea Sgattoni
8eec3aefcb Merge branch 'google/main' into feature/xpress_only_RTE 2023-10-27 14:50:59 +02:00
Andrea Sgattoni
8e54cb0f70 revert writing colnames and rownames 2023-10-27 14:49:47 +02:00
Laurent Perron
2048050832 polish comments 2023-10-27 14:45:54 +02:00
Laurent Perron
ba7735e46f tweak c++ examples 2023-10-27 14:25:17 +02:00
Laurent Perron
67d47928f8 tweak c++ examples 2023-10-27 14:01:38 +02:00
Andrea Sgattoni
a4a4ac9eb1 fix test_xpress_interface.cc 2023-10-27 10:59:22 +02:00
Andrea Sgattoni
fe829fcab4 rename xpress test 2023-10-27 10:17:39 +02:00
Andrea Sgattoni
5b3a6315fc disable python callback test 2023-10-27 09:42:36 +02:00
Andrea Sgattoni
be5a7debfd fix oracle.yml 2023-10-27 09:42:36 +02:00
Andrea Sgattoni
f189b4e2f5 add xpress tests dir 2023-10-27 09:42:36 +02:00
Andrea Sgattoni
53f1aa0013 isolate xpress tests 2023-10-27 09:42:36 +02:00
Andrea Sgattoni
4d1feddd22 remove xpress from CS and Java LinearProgramming tests 2023-10-27 09:42:35 +02:00
Andrea Sgattoni
385ba69033 fix example xpress_use.cc 2023-10-27 09:42:35 +02:00
Andrea Sgattoni
3c4a76e68f update xpress interface with dynamic load 2023-10-27 09:42:35 +02:00
Corentin Le Molgat
3b00b323ba notebook: regenerate them 2023-10-27 08:07:07 +02:00
Laurent Perron
43b6cf0f30 improve binpacking_2d_sat model 2023-10-26 11:00:54 +02:00
Laurent Perron
55642325ce huge improvement to binpacking_2d_sat code 2023-10-25 17:05:47 +02:00
Corentin Le Molgat
ce35f5eddf bazel: Fix examples/cpp build 2023-10-25 10:57:37 +02:00
Laurent Perron
414850b085 polish 2023-10-24 17:40:38 +02:00