Commit Graph

164 Commits

Author SHA1 Message Date
Corentin Le Molgat
5a3b76ca7f Add test_routing_api.py to check AssignmentContainer instantiation. 2018-12-18 13:58:46 +01:00
Laurent Perron
fedf3d4ff4 revamp and simplify swig support, force typed enums for C# and Java for all except the constraint_solver/routing module; port examples; Fix SAT on very large problems 2018-12-11 17:03:03 +01:00
Corentin Le Molgat
13c82b0bd4 Add PRE_RELEASE support
Python PEP440: https://www.python.org/dev/peps/pep-0440/#pre-releases
.Net: https://docs.microsoft.com/en-us/nuget/create-packages/prerelease-packages

note: Microsoft has a 3 years still open bug to manage prerelease in version
see: https://github.com/NuGet/Home/issues/912
2018-12-06 14:55:32 +01:00
Corentin Le Molgat
756e36bab5 Bump version to 7.0
- Also regenerate .Net proj to avoid sample to use the published 6.10 nuget package
2018-12-06 09:28:49 +01:00
Laurent Perron
29064869ed remove obsolete test after code removal 2018-12-03 10:51:15 +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
Corentin Le Molgat
c404146530 Bump .Net proj to 6.10.* 2018-11-26 09:49:32 +01:00
Laurent Perron
87b9d55b21 update license headers 2018-11-10 18:00:53 +01:00
Corentin Le Molgat
b1ea750b1a Update linear_programming examples 2018-10-15 10:00:37 +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
6bbf49935b dotnet: Add examples/tests 2018-09-18 09:16:51 +02:00
Laurent Perron
dcad684a68 more examples and tests for CP-SAT 2018-09-17 16:02:47 +02:00
Laurent Perron
b3743f4cff Fix #40 + test 2018-09-02 09:24:24 +02:00
Laurent Perron
5824112e27 fix issue 260 for the CP-SAT solver 2018-09-01 08:48:43 +02:00
Laurent Perron
f0a4199000 fix HIGHEST_MAX 2018-08-16 07:33:10 -07:00
Corentin Le Molgat
9536db9a98 cc: Fix examples/tests/*.cc
- Add them to test_cc
  except issue173.cc which takes few dozen of seconds
2018-07-13 08:55:40 +02:00
Corentin Le Molgat
97832ba68e Update python routing examples 2018-07-03 09:57:41 +02:00
Laurent Perron
4efc0ae078 more work on Sat C# 2018-02-14 18:56:50 +01:00
Laurent Perron
6391f2cbee nurses_sat ported to python, still missing searching for all solutions 2018-02-09 15:39:23 +01:00
Laurent Perron
d80011fcfc evaluate expressions in the solver 2018-02-09 11:20:47 +01:00
Laurent Perron
c109b88777 more work on C# Sat 2018-02-08 19:03:24 +01:00
Laurent Perron
acbbd2a2f3 start adding Sat/CpSolver API in C# 2018-02-07 16:47:24 +01:00
Laurent Perron
88098ec1f9 more work on sat C# 2018-02-07 16:38:27 +01:00
Laurent Perron
e06ab7b039 initial port of python sat/cp_model.py in C# 2018-02-06 17:33:58 +01:00
Laurent Perron
2c7a8bf8f6 change copyright date 2017-10-17 13:08:10 +02:00
Laurent Perron
bc46de013f python wrapper around sat cp_model 2017-09-29 16:33:02 +02:00
Laurent Perron
9cb06e2f4e port one test after include path changes 2017-08-11 16:15:41 -07:00
Laurent Perron
0c02286320 c# support for sat, + micro test using the cp_model proto in C# 2017-08-01 16:14:04 -07: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
14b18ba11a test model load in C# 2017-03-30 22:34:58 +02:00
Laurent Perron
15bc5959cd revamp CP export model, swig it in c# + simple test 2017-03-24 14:10:29 -04:00
Driss Lahlou
a68a956dc6 add support for python 3 in examples/tests/test_cp_api.py 2016-12-12 16:27:12 +01:00
Laurent Perron
9b260f1dd0 remove models directory 2016-11-22 10:43:56 +01:00
Driss Lahlou
af3266907b fix todos 2016-08-31 16:25:00 +02:00
Laurent Perron
660e5f2844 issue173 example in C++ 2016-04-14 13:11:14 +02:00
Laurent Perron
98e68e6ad8 fix tsp.cc; add cp search monitor API from std::function; continue working on python natural API for LP/MIP 2016-02-04 14:06:30 +01:00
Laurent Perron
3e889c460e fix TreeMonitor in python + example 2016-01-05 11:04:11 +01:00
Laurent Perron
ecfe4ce25a real fix to issue #62 2016-01-04 14:17:41 +01:00
Laurent Perron
9af9bd3926 issue62 examples 2016-01-04 11:46:23 +01:00
Laurent Perron
f90cebe616 problematic dzn file 2016-01-03 10:52:21 +01:00
Laurent Perron
5c739f271b rewrote issue128.py 2015-12-17 10:23:50 +01:00
Laurent Perron
ae77b87cc2 fix cp iterators and python 3 2015-12-11 14:29:37 +01:00
Laurent Perron
4a8bd4b057 more tests on python3 2015-12-11 14:14:08 +01:00
Laurent Perron
953db27b74 better test of python custom decisions 2015-12-11 13:54:26 +01:00
Laurent Perron
d76a80feb5 fix second failure of issue 115b 2015-12-11 13:52:00 +01:00
Laurent Perron
eb2179b8a1 remove python dependencies on apputils, gflags 2015-12-09 14:49:52 +01:00
Laurent Perron
dfca07300c custom decision in python + test 2015-12-07 13:27:18 +01:00
Laurent Perron
26005167ad remove python wrapper code for DecisionBuilder, use directors instead 2015-12-07 13:05:16 +01:00
Laurent Perron
6e09a7821f example file for issue 117 2015-12-03 08:58:56 +01:00
Laurent Perron
66d5e5b8de show cumulative API in python 2015-12-01 15:19:40 +01:00