Corentin Le Molgat
660425f05a
python: Fix last routing_enums_pb2 call
2024-04-19 10:41:28 +02:00
Laurent Perron
60a7a6c373
sync examples
2024-04-15 17:13:03 +02:00
Corentin Le Molgat
e15b2e359d
dotnet: move routing.i to ortools/routing/csharp/
...
* move .Net samples to routing/samples/
* factorise %include in base.i
2024-04-12 18:12:47 +02:00
Corentin Le Molgat
2846d6a234
java: move routing.i to com.google.ortools.routing packages
2024-04-12 18:12:47 +02:00
Corentin Le Molgat
88d94984ca
constraint_solver: export refactor from google3
...
* Add pybind11 wrapper
* Move routing proto to routing/
2024-04-12 17:17:40 +02:00
Mizux Seiha
be220948a3
python: run black on all files
2024-04-12 17:17:40 +02:00
Laurent Perron
9ba64c67a0
cp_model_dump_lns -> cp_model_dump_submodels
2024-04-04 22:08:04 +02:00
Laurent Perron
a8a3b1519d
fix init after sat flag removal
2024-04-04 21:45:04 +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
Corentin Le Molgat
9d01a7e0e6
fix export
2024-03-25 10:54:11 +01:00
Corentin Le Molgat
e0f0e33172
examples/cpp: export from google3
2024-03-25 07:55:39 +01:00
Corentin Le Molgat
45809353d8
examples: remove cvrptw
...
moved to ortools/routing/samples
2024-03-25 07:55:39 +01:00
Corentin Le Molgat
6cca1338a3
examples: Add service example
2024-03-25 07:55:39 +01:00
Corentin Le Molgat
c9dc9ff26b
example: rename flatzinc README.md
2024-03-25 07:55:39 +01: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
Corentin Le Molgat
4aa90052b9
notebooks: update
2024-03-11 16:11:41 +01: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