Commit Graph

30 Commits

Author SHA1 Message Date
Laurent Perron
9dd7ed7fd1 bump constraint_solver code; remove unused files 2022-02-22 19:25:31 +01:00
Laurent Perron
529849e58a add missing swig deps 2021-12-05 12:55:50 +01:00
Mizux Seiha
8bb54b04ef Bump Copyright to 2021
FYI:
find ortools \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/\(Copyright 2010\)-2018/\1-2021/g'
2021-04-01 21:00:53 +02:00
Corentin Le Molgat
a40143cdd2 cpp: Migrate int64 to int64_t 2021-04-01 20:20:43 +02:00
Mizux Seiha
f1d65afd44 java: Add support for vector<vector<CType>> 2021-02-19 16:02:52 +01:00
Mizux Seiha
6747f7dfb3 java: Fix RoutingModel::add[Matrix|Vector]Dimension() 2021-02-16 16:05:20 +01:00
Corentin Le Molgat
850968c9f1 routing: Rework Vector/Matrix transit management (#2315) 2021-02-16 13:43:52 +01:00
Mizux Seiha
e0214266d1 java: Update Routing wrapper
This close #1967
2020-12-03 18:06:17 +01:00
Mizux Seiha
b2b600974e java: wrap RoutingModel::addHardTypeIncompatibility 2020-12-03 16:57:18 +01:00
Guillaume Vantroeyen
c89f69ecca Fix typo, revert to ignoring SolveWithParameters and SolveFromAssignmentWithParameters 2020-12-02 09:48:18 +01:00
Guillaume Vantroeyen
3b9f92d724 Expose routing API for node types and breaks in Java 2020-12-01 11:48:35 +01:00
Corentin Le Molgat
ff9b82d42d Java: Ignore broken methods (Fix #1276)
Usually missing typemap for return type or argument type
2020-01-17 11:21:46 +01:00
Corentin Le Molgat
6cc1df06d7 Sync g3->github 2019-05-13 16:51:33 +02:00
Laurent Perron
814935dab7 large routing update; rewrite PDP options; Fix examples of LS API after API change; minor sync on the rest of or-tools 2019-03-15 17:17:02 +01:00
Corentin Le Molgat
2f0680127d Backport from g3 to github 2019-03-13 13:51:31 +01:00
Corentin Le Molgat
63f288f48e Backport Java fixup from g3 2019-03-12 14:51:30 +01:00
Corentin Le Molgat
6575ebb0be Java: Cleanup routing.i 2019-03-04 00:05:12 +01:00
Corentin Le Molgat
fc1a12e85a Export g3 to github 2019-02-18 15:44:06 +01:00
Corentin Le Molgat
18d21667e1 Sync java SWIG with g3 2019-02-12 17:16:25 +01:00
Corentin Le Molgat
807ce59344 Fixup Java constraint solver. 2019-02-12 11:06:27 +01:00
Corentin Le Molgat
d054c53c74 Java: Use lambda in Constraint Solver 2019-02-12 11:06:27 +01:00
Corentin Le Molgat
c034056580 Java: Routing use GlobalRef instead of GlobalWeakRef
now the C++ lambda own the Java callback ownership
so we don't have to store it in the Java RoutingModel anymore.
2019-02-08 11:58:23 +01:00
Corentin Le Molgat
4aa6605f9a Sync constraint solver java SWIG with g3 2019-02-06 16:14:52 +01:00
Corentin Le Molgat
97535178ee Sync with g3 2019-02-05 18:19:55 +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
f562e3a4ae Expose PickupAndDeliveryPolicy APIs (#961) 2019-01-17 14:56:50 +01:00
Corentin Le Molgat
3204c5ab93 Fix Java camelCase for CP methods
cd ortools/gen/com/google/ortools/constraintsolver
for i in *.java; do
 i=${i%.java};
 echo "$i.java:";
 sed -e "s/[ ]*public .* \([A-Z][a-zA-Z]*\)(.*$/%rename (\1) operations_research::$i::\1;/;t;d" $i.java | sort -u;
 echo "";
done
2019-01-15 17:29: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
Corentin Le Molgat
131c4e1135 Add NodeToIndex/IndexToNode in Java 2018-06-26 15:25:59 +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