Commit Graph

322 Commits

Author SHA1 Message Date
Laurent Perron
4d0ec663e0 minor improvement 2018-12-30 23:08:34 +01:00
Laurent Perron
98abcc8595 simplify example 2018-12-30 22:54:56 +01:00
Laurent Perron
e68c3be1af use DP to generate valid slabs 2018-12-30 21:17:38 +01:00
Laurent Perron
f0f65fee9a small polish 2018-12-30 18:12:26 +01:00
Laurent Perron
7bdbbe09e1 polish output 2018-12-30 12:32:20 +01:00
Laurent Perron
2488775388 polish output 2018-12-30 12:30:29 +01:00
Laurent Perron
6c69f549c1 polish output 2018-12-30 12:21:57 +01:00
Laurent Perron
052e5a10e6 polish output 2018-12-30 12:08:08 +01:00
Laurent Perron
844ecf5d91 polish output 2018-12-30 12:03:43 +01:00
Laurent Perron
65eb9e09c3 polish CP-SAT Python jobshop examples 2018-12-30 10:26:39 +01:00
Laurent Perron
cca2619276 jobshop code with maintenance on one machine. 2018-12-29 23:56:54 +01:00
Laurent Perron
724ea7075a jobshop code with maintenance on one machine. Fix #897 2018-12-29 23:53:58 +01:00
Laurent Perron
6d737d2f1a jobshop code with maintenance on one machine. Fix #897 2018-12-29 23:44:21 +01:00
Laurent Perron
c802058e1f polish 2018-12-29 10:46:31 +01:00
Laurent Perron
df535e6166 polish 2018-12-29 10:45:17 +01:00
Laurent Perron
ad9f9ab5ac working reallocate production model 2018-12-29 10:41:10 +01:00
Mizux Seiha
148787c841 Move routing examples to ortools/constraint_solver/samples 2018-12-24 16:28:13 +01:00
Laurent Perron
9d7fa97812 add more tie breaking 2018-12-24 14:25:12 +01:00
Laurent Perron
581e599627 minor variable renaming 2018-12-23 23:15:18 +01:00
Laurent Perron
68fe085e24 polish 2018-12-23 21:31:11 +01:00
Laurent Perron
85bf1b2624 pylint python example 2018-12-23 21:28:34 +01:00
Laurent Perron
72155be827 pylint python example 2018-12-23 21:24:23 +01:00
Laurent Perron
b4e7c38dbf add symmetry breaking 2018-12-23 18:43:35 +01:00
Laurent Perron
8fad11c956 new python CP-SAT example 2018-12-23 18:16:16 +01:00
Corentin Le Molgat
b4a57e7896 cvrptw_break 2018-12-17 14:23:52 +01:00
Corentin Le Molgat
0b37767c68 remove .pylintrc in examples/python
now files are formated using:
python3 -m yapf -i --style=Google *.py
which follow the PEP8 indentation
i.e. pylint is happy with default config
2018-12-17 14:23:52 +01:00
Corentin Le Molgat
c52e9d95b9 Move nurses_sat to ortools/sat/samples 2018-12-14 10:02:13 +01:00
Corentin Le Molgat
c2ae098d34 Apply yapf on examples/python/*.py 2018-11-30 14:48:55 +01:00
Laurent Perron
f2573d33b1 Fix merge abseil - v6.10 2018-11-30 14:48:55 +01:00
Corentin Le Molgat
b027e57e95 dotnet: Remove reference to dotnet release command
- Currently not implemented...

Add abseil patch

- Add patches/absl-config.cmake

Makefile: Add abseil-cpp on unix

- Force abseil-cpp SHA1 to 45221cc
  note: Just before the PR #136 which break all CMake

Makefile: Add abseil-cpp on windows

- Force abseil-cpp SHA1 to 45221cc
  note: Just before the PR #136 which break all CMake

CMake: Add abseil-cpp

- Force abseil-cpp SHA1 to 45221cc
  note: Just before the PR #136 which break all CMake

port to absl: C++ Part

- Fix warning with the use of ABSL_MUST_USE_RESULT
  > The macro must appear as the very first part of a function
    declaration or definition:
    ...
    Note: past advice was to place the macro after the argument list.
  src: dependencies/sources/abseil-cpp-master/absl/base/attributes.h:418
- Rename enum after windows clash
- Remove non compact table constraints
- Change index type from int64 to int in routing library
- Fix file_nonport compilation on windows
- Fix another naming conflict with windows (NO_ERROR is a macro)
- Cleanup hash containers; work on sat internals
- Add optional_boolean sub-proto

Sync cpp examples with internal code
- reenable issue173 after reducing number of loops

port to absl: Python Part

- Add back cp_model.INT32_MIN|MAX for examples

Update Python examples

- Add random_tsp.py
- Run words_square example
- Run magic_square in python tests

port to absl: Java Part

- Fix compilation of the new routing parameters in java
- Protect some code from SWIG parsing

Update Java Examples

port to absl: .Net Part

Update .Net examples

work on sat internals; Add C++ CP-SAT CpModelBuilder API; update sample code and recipes to use the new API; sync with internal code

Remove VS 2015 in Appveyor-CI

- abseil-cpp does not support VS 2015...

improve tables

upgrade C++ sat examples to use the new API; work on sat internals

update license dates

rewrite jobshop_ft06_distance.py to use the CP-SAT solver

rename last example

revert last commit

more work on SAT internals

fix
2018-11-30 14:48:55 +01:00
Laurent Perron
5d26ad890f sync examples 2018-11-21 11:00:26 -08:00
Laurent Perron
44e52c1ef8 mostly PascalCase -> sname_case 2018-11-20 05:44:21 -08:00
Laurent Perron
3fae2c719f improve sat example 2018-11-20 04:56:59 -08:00
Laurent Perron
9691161712 port examples to the CP-SAT solver 2018-11-20 04:35:48 -08: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
Laurent Perron
4379a89323 rename sudoku.py to sudoky_sat.py 2018-11-19 18:05:31 -08:00
Laurent Perron
76add52ca4 port sudoku to cp_sat. 2018-11-19 18:04:52 -08:00
Laurent Perron
c1c818c1f8 add docstring 2018-11-19 17:59:45 -08:00
Laurent Perron
b7810c2793 rename zebra.py to zebra_sat.py 2018-11-19 14:32:32 -08:00
Laurent Perron
eaea22791c rename zebra.py to zebra_sat.py 2018-11-19 14:24:14 -08:00
Laurent Perron
47ec84ca6b rename zebra.py to zebra_sat.py 2018-11-19 14:21:43 -08:00
Laurent Perron
4d7f1dec01 rename zebra.py to zebra_sat.py 2018-11-19 14:14:45 -08:00
Laurent Perron
79a8475958 port zebra example to cp-sat 2018-11-19 14:13:50 -08:00
Laurent Perron
0fc757c607 rename sat example; add to python tests 2018-11-19 10:48:28 -08:00
Laurent Perron
d3e201eb50 rename sat example; add to python tests 2018-11-19 10:46:55 -08:00
Laurent Perron
225dc5eb16 rename sat example; add to python tests 2018-11-19 10:45:26 -08:00
Laurent Perron
c82a62aa26 fix pylint issues 2018-11-19 10:39:29 -08:00
Laurent Perron
a6fb9153a6 reindent example 2018-11-18 20:57:15 -08:00
Laurent Perron
2373859e19 fix shift_scheduling_sat.py 2018-11-18 09:04:16 -08:00
Laurent Perron
1b56c047b1 polish python code 2018-11-16 16:54:37 -08:00