Commit Graph

129 Commits

Author SHA1 Message Date
Laurent Perron
d86dfadc86 add model cloning to model_builder python + sample 2023-10-24 11:44:43 +02:00
Corentin Le Molgat
69874c9b26 fixup from google3 2023-10-09 15:07:30 +02:00
Laurent Perron
fa6883d544 mostly cleaning: remove integral_types.h and basictypes.h 2023-08-24 14:52:54 +02:00
Laurent Perron
c8597d302c one more pandas model_builder test 2023-08-03 11:44:58 -07:00
Laurent Perron
5b8cdcd6bf [ModelBuilder] big update on the code; remove hash table, use c++ canonicalization of linear expressions; remove code duplication 2023-07-27 08:50:52 -07:00
Laurent Perron
f540a5fbc2 reformat 2023-07-24 13:20:13 -07:00
Laurent Perron
49c8f26ef2 [ModelBuilder] fix test with SCIP OFF 2023-07-22 07:23:15 -07:00
Laurent Perron
0552bed7bc another typing fix 2023-07-21 21:16:28 -07:00
Laurent Perron
44cff7813f another typing fix 2023-07-21 19:29:35 -07:00
Laurent Perron
1135c58520 use python3.7+ typing in model_builder and cp_model 2023-07-21 18:32:44 -07:00
Laurent Perron
9a5c7e8dad use python3.7+ typing in model_builder and cp_model 2023-07-21 16:42:55 -07:00
Laurent Perron
271cf0324e [ModelBuilder] do not add term 0 * var 2023-07-20 15:36:45 -07:00
Laurent Perron
b82cd22d7c [ModelBuilder] Add set_coefficient API, fix add_term to not create duplicate variable entries 2023-07-20 15:13:56 -07:00
Laurent Perron
a273b959f4 more model_builder python APIs 2023-07-20 14:01:10 -07:00
Laurent Perron
3cfffecef7 thorough clamping of infinity for SCIP; added APIs to model_builder python 2023-07-20 08:52:32 -07:00
Laurent Perron
baf4a82e9e commit wrong indent; but this is the output of our export 2023-07-17 14:43:42 -07:00
Laurent Perron
3acda0a0e9 switch model_builder python from numpy to pandas 2023-07-09 13:54:23 +02:00
Laurent Perron
6220bace83 use type alias 2023-07-06 03:02:28 +02:00
Laurent Perron
346642b871 remove the pywrap prefix from pybind11 modules; add _pybind to the cmake target of the same modules 2023-07-03 14:30:27 +02:00
Laurent Perron
23988337ba test bazel fix for model_builder 2023-07-02 19:43:22 +02:00
Laurent Perron
aa957c7768 reformat 2023-07-01 06:09:27 +02:00
Laurent Perron
9635b925f6 reformat linear_solver python code to BLACK; support pybind11_protobuf 2023-06-28 15:57:32 +02:00
Laurent Perron
e18411220d Fix PDLP=OFF 2023-06-06 13:13:55 +02:00
Mizux Seiha
09d0ddccac Fixup #3803 2023-05-31 00:42:54 +02:00
Mizux Seiha
53c1e40969 swig: Fix define definition
need to set ABSL_MUST_USE_RESULT to empty string so '=' is mandatory
2023-05-30 14:49:13 +02:00
Corentin Le Molgat
192e690204 cmake: cleanup 2023-05-24 15:39:37 +02:00
Corentin Le Molgat
459f4ec380 Export linear_solver/ from google3 2023-05-24 15:34:57 +02:00
Laurent Perron
dfdf042f6b mostly include/refactor 2023-04-21 12:46:19 +02:00
Corentin Le Molgat
f30fe5414d update linear_solver 2023-04-05 10:36:55 +02:00
Mizux Seiha
2de7d6fbac bazel: Fix build 2023-04-03 11:06:28 +02:00
Laurent Perron
13fae89e88 fix for SCIP=OFF 2023-03-15 15:42:20 +01:00
Mizux Seiha
175c3ab8ee bazel: Fix linear_solver/python 2023-03-07 13:50:40 +01:00
Laurent Perron
471a45dd55 tweaks 2023-03-05 08:18:45 +01:00
Laurent Perron
c957fd9798 add activity query for model_builder 2023-03-03 12:12:37 +04:00
Laurent Perron
39829e7b4c tweak numpy code 2023-03-02 17:04:13 +04:00
Laurent Perron
66184646fb [ModelBuilder] Polish numpy code 2023-03-02 12:03:28 +04:00
Laurent Perron
ed006ad70b [ModelBuilder] Polish numpy code 2023-02-28 22:47:12 +04:00
Laurent Perron
f496dcbb17 [ModelBuilder] minor typing addition 2023-02-28 12:30:46 +04:00
Laurent Perron
d0f6b6db74 add typing info to model_builder/python; add numpy variable support; update samples 2023-02-28 10:55:51 +04:00
Corentin Le Molgat
41d60ad520 cmake: Fix SWIG build
Still need to define ABSL_MUST_USE_RESULT= even with swig 4.1.1
2023-02-06 08:47:46 +01:00
Corentin Le Molgat
9054f13f95 cmake: remove ABSL_MUST_USE_RESULT for swig
should be fixed with absl upstream + swig 4.1 now support attibute
2023-02-06 08:47:46 +01:00
Laurent Perron
d0440aebe0 fix 2023-02-01 17:44:04 +01:00
Laurent Perron
71dde046fa cleanup 2023-01-25 15:24:54 +01:00
Laurent Perron
81f3fa0458 run model_builder python tests, rearrange linear solver testdata 2023-01-19 16:09:45 +01:00
Laurent Perron
5a3b2f3044 Merge branch 'main' of github.com:google/or-tools 2023-01-16 13:27:09 +01:00
Laurent Perron
1a9921587b typo 2023-01-16 13:25:46 +01:00
Laurent Perron
77c869052f Merge pull request #3636 from ajschumacher/stable
typo: "Not an number" -> "Not a number"
2023-01-14 22:33:49 +01:00
Aaron Schumacher
8b68199e8b typo: "Not an number" -> "Not a number" 2023-01-14 14:47:29 -05:00
Laurent Perron
542ec76a8a fix #3614 2023-01-04 08:19:04 +01:00
Laurent Perron
1f8a0a7770 Add version string to sat/glop; export MPSolver::SolverVersion() in python/java/C# 2022-12-20 11:54:29 +01:00