Commit Graph

83 Commits

Author SHA1 Message Date
Laurent Perron
8782b85d67 fill solve_info 2022-03-25 15:12:05 +01:00
Corentin Le Molgat
1eba970bf3 Update pdlp 2022-03-02 22:10:54 +01:00
Laurent Perron
36a094455a Enable PDLP in MPSolver 2022-02-25 19:30:02 +01:00
Laurent Perron
d510b97621 add pdlp to the code base; build it with bazel, call it through MPSolver 2022-02-09 10:48:30 +01:00
Laurent Perron
a0cee8d911 fix corner case bugs in CP-SAT and GLOP 2021-12-03 15:14:37 +01:00
Laurent Perron
9fefaadfaf [LP] change default tolerance on verify solution; add missing base include 2021-11-28 13:01:55 +01:00
Laurent Perron
778b1b3854 [MPSolver] Add better code to interrupt solve; rewrite thread management code when using the CP-SAT solver backend 2021-09-23 14:30:01 +02:00
Corentin Le Molgat
bdd8b0a109 linear solver: Add InterruptSolve feature 2021-08-27 11:44:39 +02:00
Corentin Le Molgat
48c160c8d8 Export linear_solver to github 2021-08-27 11:04:22 +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
Laurent Perron
106499bc97 sync with internal code, no changes 2021-03-25 12:56:40 +01:00
Laurent Perron
03ff2cf744 polish gurobi/environment 2021-03-23 17:55:53 +01:00
Laurent Perron
4a27f96bad remove unused declaration 2021-03-22 17:06:14 +01:00
Laurent Perron
3779db1f83 deep rewrite of the gurobi loading code 2021-03-19 16:24:35 +01:00
Laurent Perron
02ee9002ae reindent code 2021-03-17 14:18:26 +01:00
Laurent Perron
53b2650308 rewrite gurobi support 2021-03-17 14:02:24 +01:00
Laurent Perron
6e15467065 linear solver: int64 -> int64_t; use new CP-SAT logging 2021-03-12 16:59:39 +01:00
Corentin Le Molgat
b5cbf77a73 Export from Google 2021-02-10 19:51:27 +01:00
Laurent Perron
c55f00b7ed improve StopSearch() robustness 2021-01-08 09:48:52 +01:00
Laurent Perron
a2dc7e9a8e big sync with internal code; mostly code reformating; a few fixes for CP-SAT; more work on bandit based concatenators for the routing library 2020-11-02 18:50:59 +01:00
Corentin Le Molgat
e4caaf96bc format file forcing the left alignment 2020-10-29 14:25:39 +01:00
Laurent Perron
6467dc69b0 reformat the code; [CP-SAT] add dominated columns presolve 2020-10-28 13:42:51 +01:00
Laurent Perron
f1bb445810 first version without gflags and glog
* Add custom glog using absl::flags
* Fix lpi_glop patch to use absl::flags

Abseil:
* remove gflags and glog deps

Make:
* remove gflags and glog deps (unix & windows)
* regenerate makefile.gen.mk
* Cleanup install recipe
* Cleanup archive
* Cleanup doc
2020-10-24 00:49:50 +02:00
Mizux Seiha
20d0496bfb reapply google format 2020-10-23 00:45:17 +02:00
Laurent Perron
a4258f2bdf switch flags setters and getters to the absl format 2020-10-21 00:21:54 +02:00
Laurent Perron
bcb7b3073d large synchro with internal code: linear solver: introduce intermediate SCIP layer called gscip; sat: more work on slow propagation detection; base: remove statusor, use abseil version; constraint solver: more work on internal local search 2020-10-18 16:38:25 +02:00
Mizux Seiha
f087564d84 cpp: Format all files in ortools 2020-09-23 12:06:10 +02:00
Laurent Perron
55cedb4b4b remove name from MPSolver.CreateSolver API; simplify underlying code 2020-08-18 17:16:10 +02:00
Laurent Perron
a8fc48e1fd polish linear solver backend selection code 2020-06-25 10:32:58 +02:00
Laurent Perron
d6ecea46ad experimental support for dynamic loading of gurobi; add MPSolver.CreateSolver() factory method for non C++ languages to check correctly installed linear solver backends and licenses when needed; port all non C++ examples 2020-06-24 18:11:12 +02:00
Laurent Perron
581d5606e0 fix #2005; massive rewrite of pure sat processing; RINS/RENS improvements in CP-SAT; get rid of base/status.h in favor of the absl version 2020-05-06 18:22:10 +02:00
Corentin Le Molgat
2d8c863c2a Sync g3 -> gh Part 3 2020-03-10 11:06:08 +01:00
Corentin Le Molgat
22356ff523 Sync g3 -> gh part_2 2020-03-09 18:34:21 +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
3765c971e5 polish lp code 2019-11-19 14:37:31 -08:00
Laurent Perron
f282db4d48 fix crash on scip solve 2019-10-21 16:50:12 +02:00
Laurent Perron
bc43e37c90 add sat inferface to the linear solver wrapper 2019-10-18 14:39:51 +02:00
Laurent Perron
439cebb9c8 polish xpress support 2019-09-04 15:20:45 +02:00
Laurent Perron
1387c63869 update linear solver code 2019-09-02 11:32:05 +02:00
Laurent Perron
6e5b4a9320 more constraints in linear solver 2019-08-09 11:53:35 -07:00
Laurent Perron
0412b5a2b0 fix 2019-08-06 12:53:59 -07:00
Manuel Ruiz
f50fc893a8 xpress integration in or-tools 2019-08-06 18:21:29 +02:00
Laurent Perron
d4c1816733 revamp gurobi direct proto solve 2019-07-24 16:49:10 -07:00
Laurent Perron
738d23fe4a direct gurobi proto solve; support SOS in gurobi proto solve 2019-07-22 11:10:30 -07:00
Laurent Perron
4510eee224 bump linear solver code, add direct to proto solver for scip and gurobi, currently untested 2019-07-18 05:53:45 -07:00
Laurent Perron
8a4ae8bff0 working SetNumTheads in Python/Java/C#; Working SetHint in java/C# 2019-06-29 12:35:15 +02:00
Laurent Perron
7487f03c65 add branching priorities to MPSolver (supported by SCIP and Gurobi) 2019-06-17 11:35:17 +02:00
Corentin Le Molgat
b40d6b59e3 Fix windows linear_solver.cc
Windows error
```
make cc
...
cl ...\\linear_solver.obj linear_solver.cc
.\\ortools\\linear_solver\\linear_solver.cc(466): error C2131: expression did not evaluate to a constant
dependencies\\install\\include\absl/strings/string_view.h(186): note: a non-constant (sub-)expression was encountered
```
see: https://ci.appveyor.com/project/lperron/or-tools-98u1n/builds/24076151/job/orlns0nwbidxytry#L4312
2019-04-25 10:00:21 +02:00
Laurent Perron
2a4fc564b4 add constraint with index in linear solver (API + Proto); rewrite MPS reader/writer; update base library as needed 2019-04-18 19:18:48 +02:00
Laurent Perron
506112701b add indicator constraint to the linear solver with SCIP and gurobi support 2019-04-18 16:44:47 +02:00