Laurent Perron
17b9b597a1
change CP-SAT C++ Api to call Build() on the model before solving; use log_search_progress parameters to display all log; enable this parameter in non C++ language; call InitGoogleLogging() automatically in non C++ languages
2019-04-05 14:58:33 +02:00
Corentin Le Molgat
c75dd6a0d6
Update Test in java
2019-03-29 17:35:30 +01:00
Laurent Perron
868da26b49
fix python test
2019-03-25 14:21:12 +01:00
Laurent Perron
2d2b216269
add test from or-tools issue
2019-03-22 13:32:48 +01:00
Corentin Le Molgat
cd4a66c425
Fix python test unit.
2019-03-22 09:42:20 +01:00
Laurent Perron
0c1d9a65e2
re-enable cp_model_test.py; throw an exception when using abs() on a linear expression; add test
2019-03-12 13:04:04 +01:00
Corentin Le Molgat
8e94ba5186
Update ConstraintSolverTest.cs
2019-03-07 17:44:09 +01:00
Corentin Le Molgat
efa9e9bb7b
Merge LsApi.java to TestConstraintSolver.java
2019-03-04 00:05:12 +01:00
Corentin Le Molgat
6696c3014a
Fix dotnet examples/tests
2019-02-20 16:25:36 +01:00
Corentin Le Molgat
a1b9437714
dotnet: ugly fixup
...
TODO(mizux)
- Solver::MakeIntVar(), solver should keep IntVar alive !
- Solver::MakeMinimize(), solver should keep objective var alive !
- Solver::MakeSearchlog(), searchlog should keep solver alive !
2019-02-20 15:17:15 +01:00
Corentin Le Molgat
43fb0716fa
Update .csproj
2019-02-19 11:56:59 +01:00
Corentin Le Molgat
d054c53c74
Java: Use lambda in Constraint Solver
2019-02-12 11:06:27 +01:00
Corentin Le Molgat
4ffa33bf0c
Fix TestRouting.java
...
- a lambda cannot specify its output type (contrary to C++)
2019-02-06 09:00:23 +01:00
Corentin Le Molgat
0f4c907108
Java: disable SearchLog with GC tests until code is fixed
2019-02-06 08:58:56 +01:00
Corentin Le Molgat
483dacbc28
Java: Routing [Unary]Transit callback use @FunctionalInterface
...
- fix the java WeakGlobalRef leak...
- Now samples use lambda when possible for transit callback
- keep class in Tsp.java to see how it works
2019-02-05 12:05:57 +01:00
Corentin Le Molgat
3ad89c61d2
Add Java tests for Constraint Solver & Routing Solver
2019-02-05 12:05:57 +01:00
Laurent Perron
02283cffb2
fix #1037
2019-01-31 17:02:59 +01:00
Corentin Le Molgat
14875ce073
.Net: Rework SatSolverTest.cs
2019-01-31 09:10:48 +01:00
Corentin Le Molgat
fe29e18fdb
.net: remove dead code testlp.cs*
2019-01-30 16:42:55 +01:00
Corentin Le Molgat
f9689d4132
.Net: fixup for ConstraintSolverTests
2019-01-30 16:08:36 +01:00
Corentin Le Molgat
dbef712477
.Net: Add LinearSolverTests.cs
...
- remove duplicate testlp.cs and Google.OrTools.Tests
2019-01-30 16:08:36 +01:00
Corentin Le Molgat
2a551945ae
Update dotnet Xunit test
2019-01-30 14:29:50 +01:00
Corentin Le Molgat
1044ccbca4
dotnet: Add RoutingSolver test.
2019-01-30 14:29:50 +01:00
Corentin Le Molgat
fddd1b9a8d
dotnet: Add delegate support for display_callback
...
- Add Xunit Tests to check DisplayCallback delegates are working.
2019-01-30 14:29:50 +01:00
Laurent Perron
15ee386f5f
add test for #1015
2019-01-19 18:58:32 +01:00
Laurent Perron
84a5bc7c3b
add crashing example from issue #1014
2019-01-14 14:38:11 +01:00
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