Commit Graph

273 Commits

Author SHA1 Message Date
Corentin Le Molgat
bc4bc0b042 Python: Remove s/long long/long/ swig hack. 2020-02-14 17:02:47 +01:00
Laurent Perron
21a7b0510e fix python makefile 2019-10-04 04:53:48 -04:00
Laurent Perron
3787231d4d fix python doc 2019-09-08 19:33:05 +02:00
Laurent Perron
e1b32efb5a add mypy support if present fix #1547 2019-09-04 13:22:51 +02:00
Laurent Perron
691a91e5d0 update java/python doc for algorithms 2019-07-11 17:54:23 -07:00
Laurent Perron
8546561b80 update doc 2019-07-04 15:11:35 +02:00
Laurent Perron
1153bde58e fix python doc 2019-06-29 13:27:43 +02:00
Laurent Perron
177bdafd11 fix SWIG_DOXYGEN; add SWIG_PY_DOXYGEN 2019-06-29 13:20:46 +02:00
Laurent Perron
b6f820baf8 regenerate java doc 2019-06-29 13:03:00 +02:00
Laurent Perron
00a87db3d6 support swig -doxygen when present; update doc 2019-06-27 17:06:11 +02:00
Laurent Perron
a21c268d83 remove -doxygen option to swig by default 2019-06-27 11:24:19 +02:00
Laurent Perron
ac02a1cdfe add doxygen comments; use it with swig 4.0 with the -doxygen comment 2019-06-25 21:48:27 +02:00
Laurent Perron
6a690b75f8 enable cp and lp tests 2019-05-17 14:02:38 +02:00
Laurent Perron
8572f97c28 reindent cp_model.py; fix Domain swig; rename test 2019-05-17 10:27:41 +02:00
Laurent Perron
078b809010 export more methods on the Domain class in non C++ languages; add test for python; use unittest in python tests; add deprecation tag for some C# CP-SAT methods 2019-05-16 23:37:43 +02:00
Corentin Le Molgat
4177135536 Add knapsack sample 2019-05-10 22:51:10 +02:00
Laurent Perron
2cf69ce541 fix 2019-05-08 21:54:02 +02:00
Mizux Seiha
aa00d5b04f fix typo in python.mk 2019-05-08 16:52:40 +02:00
Laurent Perron
beef2334cb separate sorted_interval_list.i from sat.i in the python CP-SAT wrapping 2019-05-08 11:05:33 +02:00
Corentin Le Molgat
9ef484e5c1 Fix python packaging 2019-05-07 13:40:17 +02:00
Corentin Le Molgat
bf800d123c Fix copy of dependencies libraries
- On Centos 7 dependencies libraries are installed in lib64 not lib
2019-05-07 11:32:34 +02:00
Corentin Le Molgat
7650a85b51 Python: Fix SWIG 4.0 (Fix #1247)
- need to use `-nofastunpack`
2019-05-06 17:53:20 +02:00
Corentin Le Molgat
7bd958efce Fix python sat SWIG 2019-05-03 14:31:29 +02:00
Corentin Le Molgat
6b1dce44bb Makefile: Add python_package/ test_python_package target 2019-04-29 17:52:10 +02:00
Corentin Le Molgat
4ba3a18b31 Makefile: fix dependency copy in python package on centos
may be installed in lib64
2019-04-29 17:48:57 +02:00
Corentin Le Molgat
be0fbf9bee Update LP test 2019-04-23 16:08:58 +02:00
Corentin Le Molgat
3bc57f1aec Add VRP with Time Limit samples 2019-04-19 18:47:55 +02:00
Corentin Le Molgat
9e1bc75fa4 Add makefile recipes for the new SAT samples 2019-03-25 14:20:39 +01:00
Laurent Perron
0c1d9a65e2 re-enable cp_model_test.py; throw an exception when using abs() on a linear expression; add test 2019-03-12 13:04:04 +01:00
Corentin Le Molgat
2b36515b43 Add VRP Resources samples 2019-03-11 17:36:23 +01:00
Corentin Le Molgat
211c809101 Fixup absl install 2019-03-11 14:04:20 +01:00
Corentin Le Molgat
5ae08d978b Add: VRP_Initial_Routes samples 2019-03-04 11:25:55 +01:00
Corentin Le Molgat
9cf1e2796a Adding TspCities and TspCircuitBoard example 2019-02-18 17:50:31 +01:00
Corentin Le Molgat
f562e3a4ae Expose PickupAndDeliveryPolicy APIs (#961) 2019-01-17 14:56:50 +01:00
Corentin Le Molgat
c3e0a7b3de Add vrp_pickup_delivery.py 2019-01-10 16:03:34 +01:00
Corentin Le Molgat
fd3b22f18c Export python routing samples from g3 2019-01-10 10:49:36 +01:00
Laurent Perron
68b35112b7 remove trailing spaces; add jobshop_with_maintenance_sat to python tests 2018-12-30 13:26:54 +01:00
Laurent Perron
df535e6166 polish 2018-12-29 10:45:17 +01:00
Corentin Le Molgat
a83cf89095 Add simple_routing_program.py 2018-12-28 16:02:21 +01:00
Mizux Seiha
148787c841 Move routing examples to ortools/constraint_solver/samples 2018-12-24 16:28:13 +01:00
Corentin Le Molgat
cab12b8b01 Fix python package on distro using lib64 2018-12-19 14:35:11 +01:00
Corentin Le Molgat
5a3b76ca7f Add test_routing_api.py to check AssignmentContainer instantiation. 2018-12-18 13:58:46 +01:00
Corentin Le Molgat
c52e9d95b9 Move nurses_sat to ortools/sat/samples 2018-12-14 10:02:13 +01:00
Laurent Perron
e9aa7c2eea python support int64 -> int64_t 2018-12-10 13:34:56 +01:00
Corentin Le Molgat
5755146652 Fix python archive 2018-12-06 16:00:12 +01:00
Corentin Le Molgat
13c82b0bd4 Add PRE_RELEASE support
Python PEP440: https://www.python.org/dev/peps/pep-0440/#pre-releases
.Net: https://docs.microsoft.com/en-us/nuget/create-packages/prerelease-packages

note: Microsoft has a 3 years still open bug to manage prerelease in version
see: https://github.com/NuGet/Home/issues/912
2018-12-06 14:55:32 +01:00
Laurent Perron
f2573d33b1 Fix merge abseil - v6.10 2018-11-30 14:48:55 +01:00
Corentin Le Molgat
0f7551551f Add Samples from g3 2018-11-27 08:20:58 +01:00
Corentin Le Molgat
7e47d2dae5 Add SimpleMipProgram from g3 2018-11-22 09:47:20 +01:00
Laurent Perron
df8c8892f3 ported most official python cp examples to CP-SAT; cleaned up a few of them 2018-11-19 20:42:23 -08:00