Commit Graph

13 Commits

Author SHA1 Message Date
Mizux Seiha
10b73f0b53 fix lp_test 2022-02-26 01:07:23 +01:00
Corentin Le Molgat
985b6a9239 Fix clang-format in examples/ 2022-02-16 16:19:26 +01:00
Mizux Seiha
091c54fe78 Fixup lp_test.cc 2021-09-30 01:28:15 +02:00
Mizux Seiha
c0f6978f3b Update copyright 2021-04-02 10:08:51 +02:00
Hugues Evrard
08abcea750 Avoid leaking the MPSolver object in some samples
In samples using MPSolver::CreateSolver(), track the resulting solver
with a std::unique_ptr to avoid leaking it.

Fix #2411
2021-02-25 08:58:41 +01:00
Laurent Perron
5359e31e46 add test from #2385 2021-02-08 18:20:50 +01:00
Mizux Seiha
66bc68192f Fix examples 2020-10-24 00:50:28 +02:00
Laurent Perron
a4258f2bdf switch flags setters and getters to the absl format 2020-10-21 00:21:54 +02:00
Mizux Seiha
61693bb677 cpp: Format all examples/tests 2020-09-23 11:46:22 +02:00
Corentin Le Molgat
be0fbf9bee Update LP test 2019-04-23 16:08:58 +02: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
128363e477 Sync linear_programming with documentation
- move previous code to tests/lp_test.cc
2018-10-12 09:48:12 +02:00