Commit Graph

62 Commits

Author SHA1 Message Date
Laurent Perron
9dd8480957 add medium and big data set to python slitherlink example 2016-01-06 11:10:05 +01:00
Laurent Perron
0cbaa9ca67 fix slitherlink for python3 2016-01-06 11:07:22 +01:00
Laurent Perron
60b6929369 full version of slitherlink in python 2016-01-06 10:53:02 +01:00
Laurent Perron
3c8bf3f903 export NumericalRevInteger in python 2016-01-05 23:10:24 +01:00
Laurent Perron
9e5433b4c2 working version of custom python constraint 2016-01-05 22:35:02 +01:00
Laurent Perron
64119c8dd1 keep references of demons and constraints in python, ad-hoc way, make the slitherlink constraint working 2016-01-05 18:45:59 +01:00
Laurent Perron
48e6b8adaf cleanup on python wrapping, remove custom code for strings; add non working version of custom constraints in python in the slitherlink.py example 2016-01-05 18:38:47 +01:00
Chris Drake
8927b03942 Get rid of unnecessary string imports
Some of these imports are not used.
The rest of them only import string to use the string.atoi function.
But string.atoi(s) on a string input is identical to just int(s).
See the docs: "deprecated since 2.0".
2015-12-16 00:05:33 -08:00
Chris Drake
83b1d48d39 Update some examples to Python3 print statement 2015-12-16 00:05:33 -08:00
Chris Drake
dfa4a5a8bd Update to Python3-compatible print function 2015-12-10 10:28:04 -08:00
Chris Drake
5c7cc47c49 Get rid of unused import 2015-12-10 10:24:15 -08:00
Laurent Perron
7c58ce62f9 fix examples to work with python3, linear_solver is not yet working; tested with python 3.5 2015-12-09 06:23:06 -08:00
Laurent Perron
de9a5b6653 fix make test_python 2015-12-09 14:56:52 +01:00
Laurent Perron
eb2179b8a1 remove python dependencies on apputils, gflags 2015-12-09 14:49:52 +01:00
Laurent Perron
3e78e18cd5 fix ls examples in python/java/C# 2015-11-20 18:43:11 +01:00
Laurent Perron
9dd33ce40b fix killer sudoku example 2015-10-20 11:27:27 +02:00
Vincent Furnon
df5dadb985 Linear solver wrapper: fixed python support. 2015-06-18 15:38:37 +02:00
Vincent Furnon
7182abb864 Renamed the linear solver protocol buffer and removed the new_proto namespace. 2015-06-16 10:08:44 +02:00
amoshag
333b37858a Change constraint for set partitioning variant to SumEquality instead of SumGreaterOrEqual 2015-06-03 14:24:36 +03:00
lperron@google.com
a8befd7959 fix transition time on python 2014-12-21 20:05:30 +00:00
lperron@google.com
465666aad7 big sync: add presolve to sat solver; continue rewrite on C#/Python swig layer; remove as much using std::string as possible in the code; faster saturated arithmetics 2014-07-24 18:12:50 +00:00
lperron@google.com
4d2743d4b6 cbc by default 2014-07-23 19:09:05 +00:00
lperron@google.com
ce0178735d fix python sicherman_dice 2014-07-23 05:48:13 +00:00
lperron@google.com
729ed77ecd fix compaptibility layer in swig/python 2014-07-22 19:28:00 +00:00
lperron@google.com
a57ba55235 more work on compatibility after swig rewrite 2014-07-22 19:09:57 +00:00
lperron@google.com
e96bba1f88 added missing API in cp python 2014-07-22 17:46:28 +00:00
lperron@google.com
4de8aa77ab python rewrite 2014-07-09 11:17:29 +00:00
lperron@google.com
6f25f38898 introduce glop, our own linear programming solver; improve sat 2014-07-08 09:27:02 +00:00
lperron@google.com
315f0d7e14 add time limit to steel 2014-06-17 08:39:04 +00:00
lperron@google.com
d9183740d8 port steel_lns to new API 2014-06-17 08:26:58 +00:00
lperron@google.com
d08bb3a4ba port steel_lns to new API 2014-06-17 08:26:19 +00:00
lperron@google.com
21a885cf3c port steel_lns to new API 2014-06-17 08:14:40 +00:00
lperron@google.com
15ce480c2c improve steel_mill lns model 2014-06-17 08:07:43 +00:00
laurent.perron@gmail.com
6cda031e80 working LS in python with filters 2014-06-15 21:02:58 +00:00
lperron@google.com
e03c71b50d more work on LS in python, introducing non working filters 2014-06-15 20:41:43 +00:00
laurent.perron@gmail.com
35027d37f7 working LS in python 2014-06-15 20:24:11 +00:00
lperron@google.com
097e183b23 more work on python LS 2014-06-15 19:41:23 +00:00
laurent.perron@gmail.com
60ae27cd90 working LNS new style in python 2014-06-15 19:23:29 +00:00
lperron@google.com
c5d7450a04 non working rewrite of LNS for python + example 2014-06-15 17:24:48 +00:00
lperron@google.com
dc2ff3eb8c move python swig file into python sub-directories 2014-06-13 10:03:03 +00:00
lperron@google.com
b3c56a368f reindent all python code 2014-05-22 20:13:16 +00:00
lperron@google.com
e670f9c46b new operator in routing (MakeActiveAndRelocate); first pass at replace concise_iterator by c++11 for 2014-04-15 09:38:36 +00:00
lperron@google.com
fd2de909bf add global parameters to routing model 2014-03-13 23:05:59 +00:00
lperron@google.com
656cdb8a5e schedule creation and selection in python; bug fix in python wrapper 2014-01-29 15:31:26 +00:00
lperron@google.com
b23db62c3a schedule creation and selection in python; bug fix in python wrapper 2014-01-29 15:21:07 +00:00
lperron@google.com
da7dc5e070 remove MPSolver::*Objective* setters, getters, use setters/getters on objective 2014-01-17 19:04:26 +00:00
laurent.perron@gmail.com
4c8786bec3 merge routing and cp python modules into the cp module 2014-01-03 19:39:07 +00:00
laurent.perron@gmail.com
15e832af5b fix problem with native libraries not found in python3; align display 2013-12-29 14:54:48 +00:00
laurent.perron@gmail.com
5e0046162d port python test examples to python3 2013-12-29 14:15:25 +00:00
laurent.perron@gmail.com
96dfdf04fb port python test examples to python3 2013-12-29 14:12:37 +00:00