Commit Graph

333 Commits

Author SHA1 Message Date
Laurent Perron
2d3ef458a8 add log 2019-04-29 17:49:54 +02:00
Laurent Perron
685c63e7e6 change shift scheduling example to use 8 workers 2019-04-24 10:53:27 +02:00
Laurent Perron
0f24fe1e08 simple tsp_sat example 2019-04-10 10:50:49 -07:00
Laurent Perron
6dba5ea7f0 simple tsp_sat example 2019-04-10 10:46:10 -07:00
Laurent Perron
17b9b597a1 change CP-SAT C++ Api to call Build() on the model before solving; use log_search_progress parameters to display all log; enable this parameter in non C++ language; call InitGoogleLogging() automatically in non C++ languages 2019-04-05 14:58:33 +02:00
Laurent Perron
88a1ac6562 fix example 2019-03-25 14:38:24 +01:00
Corentin Le Molgat
c4aaa4321d Fix cvrptw_plot.py 2019-03-15 18:24:15 +01:00
Laurent Perron
43c3649bf3 add more data sets 2019-02-06 17:57:23 +01:00
Corentin Le Molgat
0465276e14 Fix wall time dimension in sat examples
WallTime is in second not millisecond...
2019-01-14 09:57:15 +01:00
Laurent Perron
dcfb59bced fix pylint 2019-01-06 11:42:18 +01:00
Corentin Le Molgat
a1f330e074 Fix compile with Python2.7
- list.copy() does not exist in 2.7+
2019-01-02 13:38:56 +01:00
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