Commit Graph

75 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
Laurent Perron
edb66aaed5 [ROUTING] major improvement on filters/first solution heuristics/time,break placements 2021-12-05 12:36:59 +01:00
Mizux Seiha
976f227b67 cmake: rework java 2021-12-03 14:20:19 +01:00
Corentin Le Molgat
52c9b0b77f constraint_solver: Sync 2021-11-03 12:57:26 +01:00
Corentin Le Molgat
eb0f319cd6 Sync github with google 2021-10-22 00:50:21 +02:00
Laurent Perron
062b113f03 fix #2817 2021-10-19 09:36:59 +02:00
Corentin Le Molgat
c45cd04d1c Fix java wrappers 2021-09-10 16:25:35 +02:00
Corentin Le Molgat
3327838e5a java: Fix constraint_solver build 2021-09-03 17:01:37 +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
Corentin Le Molgat
241d79d698 routing: Export from Google to GitHub 2021-02-19 10:34:31 +01:00
Mizux Seiha
48303577e8 java: cleanup routing index manager 2021-02-18 17:46:23 +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
Corentin Le Molgat
b5cbf77a73 Export from Google 2021-02-10 19:51:27 +01:00
Corentin Le Molgat
7b10a5e0c0 Export Google dev to github 2021-02-10 16:01:54 +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
Laurent Perron
d2147306e2 reformat cp code; add bandit concatenate operator for the routing library; tweak var domination in cp-sat 2020-11-01 11:47:28 +01:00
Mizux Seiha
fa682b4907 remove deprecated examples using TreeMonitor 2020-09-19 18:04:50 +02:00
Mizux Seiha
d4d88e1f64 constraint_solver: Fix LocalSearchFilter samples 2020-08-14 14:07:58 +02:00
Mizux Seiha
00387c133f cmake(java): Add Maven Package (#202) 2020-05-18 14:15:47 +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
Corentin Le Molgat
22356ff523 Sync g3 -> gh part_2 2020-03-09 18:34:21 +01:00
Corentin Le Molgat
bbd00fcf52 Java: remove s/long long/long/ swig hack 2020-02-14 17:02:47 +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
fa9b346b71 feat: expose the GetStartIndex and GetEndIndex methods of the RoutingIndexManager 2020-01-16 13:41:33 +01:00
Laurent Perron
2ff000ab9a bump abseil to the latest version, adapt the code all around 2019-11-20 14:28:11 -08:00
Corentin Le Molgat
6cc1df06d7 Sync g3->github 2019-05-13 16:51:33 +02:00
Corentin Le Molgat
4a8346f084 Wrappers: Bind few RoutingIndexManager methods. 2019-04-19 18:47:55 +02:00
Laurent Perron
a33585e6aa mostly indent; internal improvements to the Routing library; change API with SearchLimit to RegularLimit 2019-04-11 09:46:06 -07: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
a44b22f26c Java: routing.i cleanup 2019-03-06 11:01:59 +01:00
Corentin Le Molgat
1304f15ef8 Java: constraint_solver.i cleanup 2019-03-06 11:01:50 +01:00
Corentin Le Molgat
6575ebb0be Java: Cleanup routing.i 2019-03-04 00:05:12 +01:00
Corentin Le Molgat
e404b36d9d Java: %ignore wrongly wrapped methods
- Removed:
* AssignmentContainer::MutableElement

* Solver::ActiveSearch
* Solver::MakeApplyBranchSelector
* Solver::SearchContext
* Solver::SetBranchSelector
* Solver::SetSearchContext

* PropagationBaseObject::ExecuteAll
* PropagationBaseObject::EnqueueAll

* LocalSearchHandler

* SearchLogParameters
  note: Nested struct not well supported in SWIG...

* UnsortedNullableRevBitset
  note: only use internally in table.cc should not be in constraint_solveri.h

* FillValues()

note: They are not wrapped in Python BTW

- Add missing #undef
2019-03-04 00:05:12 +01:00
Corentin Le Molgat
b6b42f122c Java: fix support for int64*[const] argument 2019-03-04 00:05:12 +01:00
Corentin Le Molgat
803cca09f6 Java: Fix cast in IntIntToLongFunction() 2019-03-04 00:05:12 +01:00
Corentin Le Molgat
633bdfa4f4 Java: Add LongToIntFunction for PathOperator 2019-03-04 00:05:12 +01:00
Corentin Le Molgat
2878edbb95 Java: removed typedef in constraint_solver.i
- Already in base/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
4588686150 Fix java typemap(out) for index 2019-02-26 09:50:15 +01:00
Corentin Le Molgat
3af499493e Fix windows routing callback 2019-02-26 09:50:15 +01:00
Corentin Le Molgat
fc1a12e85a Export g3 to github 2019-02-18 15:44:06 +01:00