Commit Graph

29 Commits

Author SHA1 Message Date
Corentin Le Molgat
9cad0c15ae Replace 0 by EXIT_SUCCESS 2018-11-07 09:55:42 +01:00
Corentin Le Molgat
3d1eafaa80 Update tsp.cc vrp.cc 2018-10-12 09:48:12 +02:00
Corentin Le Molgat
027f5cc3f8 Add missing basic examples
C++:
 - [Up] linear_programming
 - [Up] integer_programming
 - constraint_programming_CP / rabbits_pheasants_cp
 - knapsack
 - max_flow / min_cost_flow
 - tsp / vrp
note: previous "fuzzy" tsp has been renamed random_tsp.

.Net:
 - vrp
2018-09-26 13:15:34 +02:00
Laurent Perron
70e73d8754 clang-format 2018-06-08 16:40:43 +02:00
Corentin Le Molgat
7dda497960 Fix all remaining StrAppend -> absl::StrAppend 2018-06-02 03:05:07 +02:00
Laurent Perron
8d7320b962 deep sync with base library; prepare for abseil.io integration 2017-12-08 14:52:49 +01:00
Laurent Perron
2c7a8bf8f6 change copyright date 2017-10-17 13:08:10 +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
Laurent Perron
395e170563 update examples after library changes 2017-03-28 16:13:30 +02:00
Laurent Perron
592e4878ca Remove SetDepot on routing model; Add argument to RoutingModel ctor; port all examples (C++, python, java, C#; bump version number to 5.0 as we are breaking compatibility 2016-10-07 17:40:41 +02:00
Laurent Perron
13e4a066a2 CP and Routing: Add local search profiling;
SAT: Change a bit API to simplify usage (e.g. SolveWithPresolve)
LP_DATA: continue simplification of templates in iterators
SAT: Regroup search utils is src/sat/util.h|cc
SAT: Add new eswa heuristics to sat solver
LINEAR_SOLVER: fix status reporting on SCIP
2016-07-28 10:15:46 -07:00
Laurent Perron
a915c15b8e renaming in the Sat code; small cleaning in the SWIG code; improvements to the graph code to make it MT-safe 2016-03-12 06:32:56 -08:00
Laurent Perron
98e68e6ad8 fix tsp.cc; add cp search monitor API from std::function; continue working on python natural API for LP/MIP 2016-02-04 14:06:30 +01:00
Laurent Perron
ebd7b92d3f update most of the API from callbacks to std::function, port python, java and C# 2015-08-13 16:00:54 +02:00
Vincent Furnon
74d3038447 Minor cleanup of cpp examples. 2015-05-04 13:18:05 +02:00
Laurent Perron
2a6f8942cc compile gflags correctly, remove google namespace, use gflags instead, port all code using it 2015-03-03 14:31:06 +01:00
lperron@google.com
e6dfe1bd74 more code cleaning 2014-07-24 23:32:59 +00:00
lperron@google.com
1a4efa2e54 add empty line after licence part, in glop, implement portable floating point exceptions 2014-07-09 15:18:27 +00:00
lperron@google.com
a2f8554a6d ported examples 2014-07-09 11:09:30 +00:00
lperron@google.com
6f25f38898 introduce glop, our own linear programming solver; improve sat 2014-07-08 09:27:02 +00:00
lperron@google.com
96df1d4c97 sync with internal version; major work on sat solver (symmetries, speedups); speed up on routing library 2014-03-12 17:30:11 +00:00
lperron@google.com
54b10f910a reformat code using clang-format 2014-01-08 12:01:58 +00:00
lperron@google.com
05032ce679 remove using directives, in particular string -> std::string everywhere; speedups in the routing library 2013-12-16 10:24:42 +00:00
lperron@google.com
981f0be4dd fix routing example to use new API 2013-12-12 14:43:41 +00:00
lperron@google.com
936dad1e7f DebugStringVector->JoinDebugStringPtr; fix overflow in disjunctive and path cumul; fix routing model inside the sequence var 2013-10-17 08:58:26 +00:00
lperron@google.com
5700126591 added setup dependent transition times on the disjunctive class; renamed files with - in their names to _; plenty of changes in the base library and modifications in the rest of the code accomodate them; dropped support for vs 2010 by using the brand new c++11 iterators (for (int i : vector_of_ints) {}). This is so neat; removed SetCommandLines on the routing model. I added a temporary API with parameters. This API is not final and will change to its final version soon 2013-10-10 15:23:20 +00:00
lperron@google.com
72e547c935 huge sync with internal version 2013-06-11 14:51:23 +00:00
lperron@google.com
0b299bc3d2 one bug fix in the routing library, update copyright notice everywhere 2012-03-28 18:50:03 +00:00
lperron@google.com
64752231d6 reorganize all examples in the examples directory 2012-03-28 14:23:23 +00:00