Commit Graph

306 Commits

Author SHA1 Message Date
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
Laurent Perron
786e9399e4 qubo example in SAT 2018-11-12 08:17:28 +01:00
Laurent Perron
d99cf97acb reformat python files as tab length = 4 now 2018-11-11 09:39:59 +01:00
Laurent Perron
87b9d55b21 update license headers 2018-11-10 18:00:53 +01:00
Corentin Le Molgat
2e5e79cdc7 Add linear_solver/samples/SimpleLPProgram 2018-11-09 12:53:46 +01:00
Laurent Perron
5d28e9fbcb polish minimal jobshop python sat sample 2018-11-08 13:31:27 +01:00
Corentin Le Molgat
ef89d60403 Add Minimal README.md to examples 2018-11-08 10:22:10 +01:00
Laurent Perron
475ccd99e3 move contrib examples to a dedicated contrib directory 2018-11-07 20:49:03 +01:00
Corentin Le Molgat
8eeadbecce Add SimpleProgram
This is the example use in optimization site:
GUIDES/Introduction/GetStarted/<lang>/RunningProgram
2018-11-06 14:36:21 +01:00
Laurent Perron
77ffc2abb2 fix #911, rewrite example to use CP-SAT 2018-11-06 08:44:56 +01:00
Corentin Le Molgat
fc961bad35 Update constraint_solver_cp (C++, Python) 2018-10-15 10:10:06 +02:00
Corentin Le Molgat
ac42c57a8e Update stigler_diet example (C++, Python) 2018-10-15 10:10:06 +02:00
Corentin Le Molgat
b1ea750b1a Update linear_programming examples 2018-10-15 10:00:37 +02:00
Corentin Le Molgat
143eb3b967 Add cvrp_reload.py 2018-10-12 09:48:12 +02:00
Laurent Perron
6fad54d17a clean python example 2018-10-05 14:29:25 +02:00
Corentin Le Molgat
7e3b834476 Add nurses_cp.cc and job_shop_cp.cc 2018-10-02 10:10:53 +02:00
Corentin Le Molgat
023d437c17 Update python routing examples 2018-09-27 10:36:00 +02:00