Laurent Perron
fa09d4949a
add SimpleMaxFlow::SetArcCapacity; change to the base library
2018-03-07 11:30:39 +01:00
Corentin Le Molgat
5759af1a97
Move CMake gflags target to its own namespace.
...
Use gflags::gflags as others deps to be more consistent and modern
2018-02-06 14:16:37 +01:00
Corentin Le Molgat
19ae1c121c
Fix python loader_path
2018-01-22 14:33:20 +01:00
Corentin Le Molgat
6856567eda
Rework CMakeLists.txt
...
Dependencies:
- Add dependencies as subprojects instead of prebuild (aka imported target)
- add zlib project
- Use Cbc as CMake subproject instead of prebuilt
- Add log between each subproject
- Force gflags namespace to gflags
Or-tools:
- Rework python.cmake support
- Fix missing ortool.util in python (#558 )
- Try to use static library for ortools::proto
pros: can use target_link_libraries to get includes etc...
cons: lot of symbols undefined since libortools.so will strip everything -_-
- Use add_library(XXX OBJECT) for ortools/*
- fix get version from git when using small depth copy
- Create Install rule for ortools
- Don't create export rules
note: since we use subprojects instead of Imported Target,
ortools export complained against target deps "that is not in the export set."
Update windows support
- add swig project
- Protobuf force the use of /MD instead of /MT
- or-tools use /MD by default
- Add missing ws2_32
- Add missing psapi
- Update windows disable warnings list
- Build Static or-tools on Windows
- fix windows export symbols leak issue
Signed-off-by: Corentin Le Molgat <corentinl@google.com >
2018-01-19 15:03:25 +01:00
Laurent Perron
10db4c7cd0
minor changes
2017-12-14 12:45:54 +01:00
Laurent Perron
3945020e13
minor sync
2017-12-11 14:37:35 +01:00
Laurent Perron
bb605a1a8a
more work on base libraries
2017-12-11 11:02:46 +01:00
Laurent Perron
8d7320b962
deep sync with base library; prepare for abseil.io integration
2017-12-08 14:52:49 +01:00
Corentin Le Molgat
a823ddbd63
Fix VS2015 W/ splitting code
2017-11-29 09:43:36 +01:00
Laurent Perron
2c7a8bf8f6
change copyright date
2017-10-17 13:08:10 +02:00
Laurent Perron
394bbe232a
move graph code around; improve internals of sat solver
2017-10-09 11:21:43 -07:00
ziad
4a8700edbd
fix DisownAndGetPermanentCallback not getting called on NodeEvaluator2 when array is used.
2017-09-07 00:57:03 -07:00
ziad
552677354e
fix RouteModel SetVehicleCost and methods that take NodeEvaluator2 array so they hold references so native code does not have a reference that can be gc'ed. Remove aux methods from RouteMethod. Add GC.SupressFinalize to DisownAndGetPermanentCallback as after DisownAndGetPermanentCallback gets called there is no work required by finalizer anymore.
2017-09-06 01:23:25 -07:00
ziad
743de35c68
fix tab indents in constraint_solver/csharp/constraint_solver.i
2017-09-05 09:16:20 -07:00
ziad
a1c4cfca6b
fix error in RoutingModel destructor when NodeEvaluator2 array is used from C#.
2017-09-05 03:49:52 -07:00
furnon
26eacb75c9
Removing check unconsisent with doc in routingModel::AddDisjuntion
2017-09-04 17:41:01 +00:00
ziad
3d2343ba9f
Fix swig C# marshaling for vector of NodeEvaluator2. Allow for AddDimensionWithVehicleTransits to be used.
2017-09-03 05:36:59 -07:00
Laurent Perron
fa82950d28
fix crash in default search
2017-07-18 13:07:42 -07:00
Laurent Perron
139c19aa14
Merge branch 'master' of https://github.com/google/or-tools
2017-06-08 16:37:44 +02:00
Laurent Perron
61b6de1bd1
StringPiece -> string_view
2017-06-08 16:37:22 +02:00
furnon
2c61433fc3
Fix issue in MakeRelocateNeighborsOperator
2017-06-08 12:26:05 +00:00
Amit Prakash Ambasta
553772d03c
Removed python build for cleaner patches
2017-05-31 12:00:50 +05:30
Amit Prakash Ambasta
72e3313784
Updated CMakeLists to retain hierarchy of proto generated files
2017-05-30 15:51:19 +05:30
Amit Prakash Ambasta
2a12468b93
Added cmake support for C++, initial python build support
2017-05-30 12:02:56 +05:30
Laurent Perron
e3d72e5b3b
add cp_model proto to the sat solver
2017-05-29 14:45:17 +02:00
braktar
7c7a1f76aa
remove comment ambiguity
2017-05-19 14:56:30 +02:00
Laurent Perron
c7d9318c75
more cleanup
2017-04-28 16:17:22 +02:00
Laurent Perron
8c08d72260
replace hash_map and hash_set by unordered_map and unordered_set
2017-04-27 17:34:24 +02:00
Laurent Perron
4db7d3bc4e
remove hash_map/hash_set; replace with std::unordered_map|set
2017-04-27 14:14:05 +02:00
Laurent Perron
84e8058255
single workspace architecture for bazel after include earthquake
2017-04-26 22:30:32 +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