Commit Graph

66 Commits

Author SHA1 Message Date
Laurent Perron
4c8570a57c use init_google.h in c++ examples 2022-02-25 09:47:52 +01:00
Laurent Perron
6f5052f668 simplify sat runner 2021-12-13 10:45:53 +01:00
Laurent Perron
18d001912d remove ortools/base/random.h|cc; adapt code everywhere; increase robustness of glop preprocessor 2021-12-06 14:03:19 +01:00
Corentin Le Molgat
baf02eca7e update examples 2021-04-02 16:05:40 +02:00
Mizux Seiha
c0f6978f3b Update copyright 2021-04-02 10:08:51 +02:00
Laurent Perron
9de99d789e improve logging facilities, use it in the CP-SAT solver 2021-03-10 11:40:28 +01:00
Laurent Perron
61a2837782 update sat_runner 2021-01-15 09:47:18 +01:00
Laurent Perron
805b733f98 sync most c++ examples 2021-01-14 10:48:19 +01:00
Laurent Perron
425901d7d0 new course scheduling example; sync c++ examples with internal code 2021-01-05 22:13:51 +01:00
Corentin Le Molgat
e4caaf96bc format file forcing the left alignment 2020-10-29 14:25:39 +01:00
Mizux Seiha
66bc68192f Fix examples 2020-10-24 00:50:28 +02:00
Mizux Seiha
20d0496bfb reapply google format 2020-10-23 00:45:17 +02:00
Laurent Perron
288d3f5ed4 fix examples 2020-10-21 00:28:40 +02:00
Laurent Perron
a4258f2bdf switch flags setters and getters to the absl format 2020-10-21 00:21:54 +02:00
Mizux Seiha
ea95fb1c40 Format all examples/cpp 2020-09-23 11:45:03 +02:00
Laurent Perron
2e2993ab96 fix examples and makefiles 2020-05-06 18:35:18 +02:00
Laurent Perron
24e21cb7cf update examples 2019-08-06 15:57:08 -07:00
Laurent Perron
663f9c00de Init logging 2019-07-09 20:15:31 -07:00
Laurent Perron
7115cf570f reorganize SIGINT catching 2019-06-27 17:28:56 +02:00
Laurent Perron
b88a499b6c remove obsolete files from ortools/base; port code accordingly; add new sat sample 2019-01-05 11:30:35 +01:00
Laurent Perron
798b9e73e2 fix the rest of the C++ examples 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
87b9d55b21 update license headers 2018-11-10 18:00:53 +01:00
Corentin Le Molgat
9cad0c15ae Replace 0 by EXIT_SUCCESS 2018-11-07 09:55:42 +01:00
Laurent Perron
8e7db4fbda use std::atomic<bool> in external boolean for time limit 2018-07-04 13:31:00 +02:00
Laurent Perron
bd04f656b3 rename MODEL_SAT to FEASIBLE, MODEL_UNSAT to INFEASIBLE 2018-07-02 15:35:40 +02:00
Laurent Perron
70e73d8754 clang-format 2018-06-08 16:40:43 +02:00
Laurent Perron
e129e2da77 fix examples 2018-06-06 14:32:29 +02:00
Laurent Perron
55d906819f add jobshop scheduling proto + parser + sat solver 2018-04-18 13:37:29 +02:00
Laurent Perron
023bc19334 update C++ examples after changes in base library 2018-04-11 13:47:07 +02:00
Laurent Perron
8ac56302da small improvements to SAT presolve; fix sat_runner 2018-03-13 17:20:49 +01:00
Laurent Perron
aad245304f fix compilation of sat_runner 2017-12-29 11:14:08 +01:00
Laurent Perron
cfdaf3972e polish previous CL on base libraries upgrade 2017-12-08 16:08:16 +01:00
Laurent Perron
8d7320b962 deep sync with base library; prepare for abseil.io integration 2017-12-08 14:52:49 +01:00
Laurent Perron
2c7a8bf8f6 change copyright date 2017-10-17 13:08:10 +02:00
Laurent Perron
0501a62221 add sat clause simplifications to cp_model solver 2017-07-20 11:30:17 -07:00
Laurent Perron
8ecbea311b fix examples 2017-06-29 11:59:21 +02:00
Laurent Perron
9f6e447d00 fix bazel build 2017-04-27 09:06:18 +02:00
Laurent Perron
66b8d23079 move src to ortools; simplified python generation; remove some namespaces in the ortools/base helper files 2017-04-26 17:30:25 +02:00
Laurent Perron
395e170563 update examples after library changes 2017-03-28 16:13:30 +02:00
Laurent Perron
ea71f58ef2 minor sync with internal code 2016-12-09 14:15:01 +01:00
Laurent Perron
ef37320f7c port examples 2016-10-05 14:08:27 +02:00
Laurent Perron
13e4a066a2 CP and Routing: Add local search profiling;
SAT: Change a bit API to simplify usage (e.g. SolveWithPresolve)
LP_DATA: continue simplification of templates in iterators
SAT: Regroup search utils is src/sat/util.h|cc
SAT: Add new eswa heuristics to sat solver
LINEAR_SOLVER: fix status reporting on SCIP
2016-07-28 10:15:46 -07:00
Laurent Perron
95b14628f1 large rewrite in the documentation/headers; changed implementation of the ForbiddenInterval constraints, renamed to NotMember; remove unused mode in sat; rewrite of internals of glop; change callbacks to std::function in shortestpath.h; random sync with interval code 2016-06-02 13:19:10 +02:00
Laurent Perron
385b28c5fc Revert "unify include path for includes in examples/cpp for both source and binary installations"
This reverts commit 990bfce875.
2016-04-12 17:36:41 +02:00
Laurent Perron
990bfce875 unify include path for includes in examples/cpp for both source and binary installations 2016-04-12 15:27:25 +02:00
Laurent Perron
a915c15b8e renaming in the Sat code; small cleaning in the SWIG code; improvements to the graph code to make it MT-safe 2016-03-12 06:32:56 -08:00
Laurent Perron
19b7b29194 fix examples 2016-01-26 13:58:53 +01:00
Vincent Furnon
d99970e5b2 Update of SAT runner, including new reduced memory mode. 2015-07-31 16:12:32 +02:00
Laurent Perron
2a6f8942cc compile gflags correctly, remove google namespace, use gflags instead, port all code using it 2015-03-03 14:31:06 +01:00