Commit Graph

279 Commits

Author SHA1 Message Date
Laurent Perron
c36ac046f7 prepare c++ code for int64 = int64_t 2018-12-07 19:43:46 +01:00
Laurent Perron
8b6da37ed5 revert last commit 2018-12-01 16:06:18 +01:00
Laurent Perron
7ca7fc393a remove template specialization in min/max after int64 revamp 2018-12-01 15:20:35 +01:00
Laurent Perron
0b034b6e30 fix cmakefile 2018-11-30 14:48:55 +01:00
Laurent Perron
798b9e73e2 fix the rest of the C++ examples 2018-11-30 14:48:55 +01:00
Laurent Perron
fe0249dd64 fix cvrptw_lib.h 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
9991c88819 fix 2018-11-26 11:03:04 +01:00
Laurent Perron
4afccdb52c network routing -> network_routing_sat 2018-11-25 11:10:12 +01:00
Laurent Perron
46a78c021d golomb -> golomb_sat 2018-11-24 23:06:05 +01:00
Laurent Perron
dbbcc15359 reimplement costas_array with the CP-SAT solver. 2018-11-24 19:34:08 +01:00
Laurent Perron
8581d2a552 add support for parameters 2018-11-24 16:01:12 +01:00
Corentin Le Molgat
4ae6e1fea1 Fix examples/cpp/CMakeLists.txt 2018-11-23 15:51:38 +01:00
Laurent Perron
4c661f07ae remove jobshop_earlytardy; add support for earliness in jobshop_sat; improve jobshop_scheduling_parser to support jet file (Jobshop Early Tardy) 2018-11-23 15:25:12 +01:00
Corentin Le Molgat
b6f0705a3d Fixup CMakeLists.txt 2018-11-23 11:10:54 +01:00
Corentin Le Molgat
5e78dc2a5e Fixup examples/cpp/CMakeLists.txt 2018-11-23 10:51:12 +01:00
Corentin Le Molgat
f63f6f7051 Move some examples to constraint_solver/samples 2018-11-23 10:49:46 +01:00
Corentin Le Molgat
6cdc613a60 Cleanup examples/cpp/CMakeLists.txt 2018-11-23 10:29:34 +01:00
Corentin Le Molgat
60fa2fb271 Make FAP a header only library 2018-11-23 08:52:59 +01:00
Corentin Le Molgat
20d9bc0e50 Make Dimacs a header only library
- Remove special case in Makefile rules
2018-11-22 18:14:06 +01:00
Corentin Le Molgat
98cbd29324 Make cvrptw_lib a header only lib.
- don't need extra stuff in Makefile anymore
2018-11-22 18:04:57 +01:00
Laurent Perron
f58a933be3 remove 2018-11-22 05:35:33 -08:00
Laurent Perron
6a7132377e remove global_arith 2018-11-22 04:42:33 -08:00
Laurent Perron
7566c682ca remove jobshop cp examples; keep jobshop_earlytardy for now 2018-11-22 04:41:10 -08:00
Laurent Perron
75ddef3af0 add reference to the slitherlink problem 2018-11-22 04:37:08 -08:00
Laurent Perron
7b5f8c6db9 merge 2018-11-22 04:19:35 -08:00
Laurent Perron
37ef66ef86 replace magic_square by magic_square_sat with much improved performance 2018-11-22 04:17:54 -08:00
Corentin Le Molgat
24ad8771ef Format examples/cpp 2018-11-22 13:15:13 +01:00
Laurent Perron
d5bd0940cd remove cryptarithm example 2018-11-22 01:38:13 -08:00
Laurent Perron
78d31daf0f remove model_util example; port slitherlink to CP-SAT; port sports_scheduling to CP-SAT; fix test_cc 2018-11-22 01:30:28 -08:00
Corentin Le Molgat
47fefdc3bb Remove tab from CMakeLists.txt
- Mandatory to follow google internal convention
2018-11-13 10:12:02 +01:00
Laurent Perron
87b9d55b21 update license headers 2018-11-10 18:00:53 +01:00
Laurent Perron
0cca9babf0 Merge branch 'master' of github.com:google/or-tools 2018-11-09 15:08:09 +01:00
Laurent Perron
7cb9f2b893 enable some of sat presolve when enumerating all solutions; polish jobshop_sat example 2018-11-09 15:07:37 +01:00
Corentin Le Molgat
2e5e79cdc7 Add linear_solver/samples/SimpleLPProgram 2018-11-09 12:53:46 +01:00
Corentin Le Molgat
ef89d60403 Add Minimal README.md to examples 2018-11-08 10:22:10 +01:00
Laurent Perron
5a6e658475 Merge branch 'master' of github.com:google/or-tools 2018-11-07 17:26:14 +01:00
Laurent Perron
692114def7 port c++ sat examples to the new API; add little methods to the sat C++ api 2018-11-07 17:25:58 +01:00
Corentin Le Molgat
9cad0c15ae Replace 0 by EXIT_SUCCESS 2018-11-07 09:55:42 +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
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
719172b621 Update constraint_programming_cp.cc 2018-10-12 10:07:00 +02:00
Corentin Le Molgat
97584db53d Add stigler_diet.cc 2018-10-12 09:48:12 +02:00
Corentin Le Molgat
128363e477 Sync linear_programming with documentation
- move previous code to tests/lp_test.cc
2018-10-12 09:48:12 +02:00
Corentin Le Molgat
3d1eafaa80 Update tsp.cc vrp.cc 2018-10-12 09:48:12 +02:00
Corentin Le Molgat
487b49372c Fix job_shop_cp include on windows 2018-10-10 08:09:08 +02:00
Corentin Le Molgat
94015d8a87 Fix nurses_cp.cc include 2018-10-09 17:33:35 +02:00