Laurent Perron
08e53974c7
[CP-SAT] tweak model cloning API; implement it in java; merge pure sat presolve with normal presolve
2023-10-25 15:38:57 +02:00
Laurent Perron
6d1a1b455c
[CP-SAT] add pandas support for intervals; new sample that uses them; improve the meta-heuristics in feasibility_jump
2023-10-09 18:07:11 +02:00
Laurent Perron
9e2770f8bd
[CP-SAT] extensive work on scheduling; add new cumulative with profile example
2023-10-08 11:21:00 +02:00
Laurent Perron
7d0d173a0f
[CP-SAT] optimize feasibility jump; optimize linear presolve; better presolve logging; fix #3917 ; rewrite and simplify search heuristics code
2023-09-13 18:16:28 +02:00
Laurent Perron
6d8495f423
[CP-SAT] improve core based search with more core reduction
2023-07-27 08:49:46 -07:00
Laurent Perron
4ade94b960
[CP-SAT] remove unused pure sat code; cleanup sat_runner
2023-07-24 07:09:47 -07:00
Laurent Perron
9a5c7e8dad
use python3.7+ typing in model_builder and cp_model
2023-07-21 16:42:55 -07:00
Laurent Perron
eea10fb7b9
[CP-SAT] test pandas code; typing tweaks
2023-07-11 06:57:06 -07:00
Laurent Perron
00947846f6
[CP-SAT] Initial pandas support + samples
2023-07-10 18:49:45 -07:00
Laurent Perron
e86780b734
[CP-SAT] more work on cp_model.py
2023-07-10 11:40:21 -07:00
Laurent Perron
eb13ff71a2
switch .format() to f' '
2023-07-10 11:01:22 -07:00
Laurent Perron
04981893c3
[CP-SAT] polish cp_model.py typing
2023-07-10 14:51:08 +02:00
Xiang Chen
5e36e203c7
[CP-SAT] Add more python type hints
2023-07-09 17:07:36 +02:00
Laurent Perron
346642b871
remove the pywrap prefix from pybind11 modules; add _pybind to the cmake target of the same modules
2023-07-03 14:30:27 +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
Laurent Perron
7e40d75927
fix #3803
2023-05-30 22:58:06 +02:00
Mizux Seiha
2de7d6fbac
bazel: Fix build
2023-04-03 11:06:28 +02:00
djsilcock
8f58b6a302
Fix reference to solve_wrapper in Solve method
2023-03-26 21:25:22 +01:00
Corentin Le Molgat
f530b6e29f
bazel: Improve python pybind11
2023-03-02 17:41:10 +01:00
Laurent Perron
e106e23600
fix #3682
2023-02-21 10:40:50 +01:00
Laurent Perron
a06d0ed7a0
more absl::string_view in the c++ code; sync examples/python, remove jniutils.h; move sat/python/visualization.py to sat/colab
2023-01-29 21:20:58 +01:00
Laurent Perron
806fcd185e
CP-SAT optimize LinMax propagator; linear constraint; adapt pybind11 to new protobuf API
2023-01-27 16:53:53 +01:00
Laurent Perron
f460e9b0fc
run tests in examples/python under bazel; sync/clean examples
2023-01-26 13:46:40 +01:00
Laurent Perron
223a1a6c3b
one more sat python test
2023-01-23 17:37:56 +01:00
Laurent Perron
32036a6201
run all sat python tests under bazel
2023-01-23 17:28:11 +01:00
Laurent Perron
fb9c880ea3
first cp_model bazel python test
2023-01-23 17:10:16 +01:00
Aaron Schumacher
8b68199e8b
typo: "Not an number" -> "Not a number"
2023-01-14 14:47:29 -05:00
Corentin Le Molgat
899e30d88b
cmake: Fix python build
...
* fix cmake/python.cmake
* fix <cmp>/python/CMakeLists.txt
* fix examples/tests/CMakeLists.txt
2022-09-22 22:39:55 +02:00
Corentin Le Molgat
7a401969c0
move examples/test/*.py to ortools/<component>/python
2022-09-22 13:54:16 +02:00
Laurent Perron
d633ea8214
[CP-SAT] improve doc tag
2022-09-19 14:40:33 +02:00
Laurent Perron
9931205f7c
[CP-SAT] prepare for reservoir with variable demand; internal tweakes
2022-09-09 16:48:39 +02:00
Corentin Le Molgat
1af55b2be3
Add license boilerplate
2022-06-21 11:25:29 +02:00
Laurent Perron
87ca4f58ad
[CP-SAT] bump license years; fix scheduling cuts; improve lb_tree_search
2022-06-16 15:21:00 +02:00
Laurent Perron
8f66a4494c
add problem name to generated cp_model in rcpsp
2022-06-16 07:39:30 +02:00
Gen Xu
7c12807722
python: Fix pymalloc after releasing gil ( #3329 )
2022-06-04 15:52:41 -07:00
Corentin Le Molgat
06f6e54b63
sat: update python api
2022-05-27 15:16:28 +02:00
Corentin Le Molgat
c9c7c69428
sync from googl3
2022-05-23 09:28:20 +02:00
Laurent Perron
7a46833a12
fix #3283 : implement clear objective method in CP-SAT
2022-05-07 10:37:29 +02:00
Laurent Perron
a1e6a11876
fix #3257
2022-04-25 15:08:10 +02:00
Laurent Perron
81d110eed5
reformat
2022-03-31 11:36:33 +02:00
Laurent Perron
18d3f72160
run python sat samples with bazel
2022-03-30 13:12:32 +02:00
Laurent Perron
c82cfdc9ad
remove map_util from most of the code; absl::make_unique and absl::optional -> stl version
2022-03-09 09:08:40 +01:00
Corentin Le Molgat
0466c9f6bf
python: remove __init__.py
...
now you'll need to always use a wheel package
avoid some issue when trying to run venv from root dir
e.g. `./build/python/venv/bin/python -c "from ortools.pdlp import solve_log_pb2"`
2022-02-28 08:52:31 +01:00
Laurent Perron
f812debc11
fix python test
2022-02-23 15:43:04 +01:00
Laurent Perron
d95e0a0f0c
fix CP-SAT python samples not stopping
2022-02-23 13:04:03 +01:00
Laurent Perron
d0aec755ad
release lock
2022-02-22 22:52:11 +01:00
Laurent Perron
833ae17e99
Use pybind11 instead for swig for sorted_interval_list and cp_sat swig_helper; speed up CP-SAT presolve; add missing std includes
2022-02-22 18:33:45 +01:00
Laurent Perron
951e8bbc1e
bump pdlp; add log to linear_solver proto; fix bug in CP-SAT
2022-02-21 17:26:34 +01:00
Laurent Perron
a1ec2adade
[CP-SAT] allow variable number of arguments for OnlyEnforceIf, AddAllDifferent and all Boolean constraints for the Python API
2022-01-28 15:54:07 +01:00