Commit Graph

44 Commits

Author SHA1 Message Date
Mizux Seiha
89d8d77c2a Fix build 2021-04-12 09:21:20 +02: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
Laurent Perron
022593a93e cleanup 2020-06-05 16:12:05 +02:00
Mizux Seiha
00387c133f cmake(java): Add Maven Package (#202) 2020-05-18 14:15:47 +02:00
Laurent Perron
189c568fa7 remove java warning 2020-05-06 18:55:46 +02:00
Mizux Seiha
3223b97649 cmake: Work on Java
* Add SWIG generation CMakeLists.txt
* Fix jni.h include dir
2020-04-16 11:25:06 +02:00
Laurent Perron
702791f2e3 experimental parallel interleaved search; speed up sorted interval lists; misc cleaning of swig files 2020-03-24 18:51:13 +01:00
Corentin Le Molgat
0d6f6dddd9 Export g3 -> gh 2020-03-12 18:20:13 +01:00
Corentin Le Molgat
bbd00fcf52 Java: remove s/long long/long/ swig hack 2020-02-14 17:02:47 +01:00
Laurent Perron
dd6fbc32b1 move MakeCleanup from gtl:: to absl::; CP-SAT improvements 2020-02-05 11:27:02 +01:00
Laurent Perron
6d61ac1cb0 query the domain from an IntVar in Python/Java/C# + tests; small speedup of sat reversible data structures 2020-01-24 12:20:08 -08:00
Andrew Teirney
69b5b2f581 fix: update the java out type mapping of std::vector<CType*>& to prevent segfaults 2020-01-22 18:11:12 +13:00
Laurent Perron
251856141d unignore java method on SortedDisjointIntervalList 2020-01-21 11:00:44 +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
Andrew Teirney
747ea98db8 fix: correct the java swig type mapping for std::vector<CType*> 2020-01-13 13:51:38 +01:00
Laurent Perron
2ff000ab9a bump abseil to the latest version, adapt the code all around 2019-11-20 14:28:11 -08:00
Laurent Perron
c5d1458176 simplify code 2019-07-29 17:55:31 -07:00
Laurent Perron
ecaa00622a fix #1448 2019-07-25 15:15:29 -07:00
Laurent Perron
8572f97c28 reindent cp_model.py; fix Domain swig; rename test 2019-05-17 10:27:41 +02:00
Laurent Perron
078b809010 export more methods on the Domain class in non C++ languages; add test for python; use unittest in python tests; add deprecation tag for some C# CP-SAT methods 2019-05-16 23:37:43 +02:00
Laurent Perron
3c5cd313d5 Polish new CP-SAT Java API 2019-05-06 22:21:53 +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
f71b7e0a06 Java: vector.i fixup 2019-03-06 11:01:22 +01:00
Corentin Le Molgat
ad23634d52 Java: Fixup const vector<vector<CType>> & 2019-03-04 00:05:12 +01:00
Corentin Le Molgat
4ed0f94391 Java: Add support for vector<vector<POD>>* OUTPUT 2019-03-04 00:05:12 +01:00
Corentin Le Molgat
1291b53428 Java: Add support for std::vector<CType*> 2019-03-04 00:05:12 +01:00
Corentin Le Molgat
1a6d20ed9a Java: Remove typedef in vector.i
note: already in base.i
2019-03-04 00:05:12 +01:00
Corentin Le Molgat
e6de613f7d Java: Add MATRIX_AS_JAVA_ARRAY() 2019-03-04 00:05:12 +01:00
Corentin Le Molgat
9131b61060 Java: Remove IntTupleSet::RawData() 2019-03-04 00:05:12 +01:00
Laurent Perron
087868bcc2 maintenance on swig files; merge presolve context and expand context; minor fixes in the code 2019-02-05 15:06:47 +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
Laurent Perron
29823da003 add missing java vector swig pragmas 2018-12-18 16:02:01 +01:00
Laurent Perron
887b150207 generalize java vector.i 2018-12-13 15:19:30 +01:00
Laurent Perron
65ba1eb837 move java swig vector code to util/java/vector.i 2018-12-13 15:08:33 +01:00
Laurent Perron
9721d1954b remove useless swig code 2018-12-11 18:05:12 +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
Laurent Perron
a60c3291cd java support int64 -> int64_t 2018-12-10 13:35:51 +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
Laurent Perron
03fccb4032 improve incrementality of glop when used in the sat solver; change more copyright dates; more documentation on the gate scheduling problem 2017-10-18 11:09:13 +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