59 Commits

Author SHA1 Message Date
Corentin Le Molgat
a66a6daac7 Bump Copyright to 2025 2025-01-10 11:35:44 +01:00
Corentin Le Molgat
8565641635 constraint_solver: Fixup Java and .Net swig 2024-11-15 10:27:21 +01:00
Corentin Le Molgat
4aab26abc8 dotnet: Fix absl::string_view SWIG 2024-01-10 18:21:27 +01:00
Mizux Seiha
a76bf1c5dd bump license boilerplate 2024-01-04 13:43:15 +01:00
Laurent Perron
d229e48c88 polish model_builder code and samples; tweak C# wrapping code 2023-11-03 15:09:13 +01:00
Laurent Perron
4f3584321f fix 2023-10-31 08:46:22 +01:00
Laurent Perron
1f9331d00a fix 2023-10-31 08:43:55 +01:00
Laurent Perron
afbca7604d cleanup c# swig: move vector calling to client .i, import vector.i instead of include; begin support for c# model_builder 2023-10-30 21:51:08 +01:00
Laurent Perron
af879c6d17 big cleanup of includes 2023-08-24 17:14:58 +02:00
Laurent Perron
fa6883d544 mostly cleaning: remove integral_types.h and basictypes.h 2023-08-24 14:52:54 +02:00
Mizux Seiha
aed5249c48 constraint_solver: Fix .Net swig 2023-07-11 16:04:48 +02:00
Corentin Le Molgat
cee6313ffe constraint_solver: Fix .Net build 2023-06-02 08:53:08 +02:00
Corentin Le Molgat
2fea50c07f export from google3 2022-09-28 10:21:55 +02:00
Corentin Le Molgat
656a5bb244 google3: export routing 2022-09-19 15:41:11 +02:00
Corentin Le Molgat
c7120439d4 Bump license date 2022-06-17 14:23:23 +02:00
Corentin Le Molgat
fca3456c45 Sync from Google 2022-03-03 14:09:10 +01:00
Corentin Le Molgat
a40295d79c Sync from google 2022-01-21 17:51:38 +01:00
Corentin Le Molgat
e78e6f5530 remove user name 2021-09-10 16:25:35 +02:00
Corentin Le Molgat
56a38f0a58 dotnet: Fix build 2021-09-06 16:01:50 +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
88af9aea73 dotnet: Fix SearchLog wrapper 2020-10-19 17:42:51 +02:00
Mizux Seiha
807d559e9a cp: fix .Net type in maximize/minimize methods 2020-08-25 23:51:59 +02:00
Mizux Seiha
d4d88e1f64 constraint_solver: Fix LocalSearchFilter samples 2020-08-14 14:07:58 +02:00
Corentin Le Molgat
ed9136bb48 .Net swig refactor 2020-02-17 10:51:57 +01:00
Corentin Le Molgat
061f5da1f2 .Net: Ignore broken methods (Fix #1276)
Usually no typemap available for return type or arguments
2020-01-17 11:22:29 +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
0805c35356 fix 2019-07-22 15:05:30 -07:00
Corentin Le Molgat
d8ca1d48d3 .Net: Fix IntTupleSet.cs 2019-05-07 11:30:43 +02:00
Laurent Perron
70574490ba more cleanup in routing/CP C# 2019-05-06 13:20:58 +02:00
Laurent Perron
a70ed70563 remove the need for IntArrayHelper.cs; support conversion from type[][] and type[,] to std::vector<std::vector<type>> in C# 2019-05-06 12:55:30 +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
90249a37cb .Net: Rework constraint_solver.i
- Add support for more std::function<>
- Remove all remaining SWIGTYPE_p
- comment out code in IntArrayHelper.cs
2019-03-07 17:44:09 +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
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
Laurent Perron
9aed182dcf add comments, reindent 2019-02-11 13:12:04 +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
Corentin Le Molgat
ec4a7d6e0d Rework C# Callback to use delegates 2019-01-30 14:29:50 +01:00
Corentin Le Molgat
fbc6f4c4da Java/.NET: prefix AssignmentContainer template typedef by Assignment 2019-01-16 13:46:32 +01:00
Laurent Perron
75876db069 Merge branch 'master' of github.com:google/or-tools 2018-12-18 16:23:48 +01:00
Laurent Perron
1d04b1738d move routing code around; cleanup examples 2018-12-18 15:45:34 +01:00
Corentin Le Molgat
f4f7dd06e2 dotnet: Add all AssignmentContainer template intantiation 2018-12-18 14:40:45 +01:00
Laurent Perron
37776ddc6f cleanup routing API and examples on transits 2018-12-17 09:10:37 +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
Laurent Perron
27f9c4f95e support int64_t transition in c# 2018-12-10 12:57:27 +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