Commit Graph

25 Commits

Author SHA1 Message Date
Laurent Perron
d86dfadc86 add model cloning to model_builder python + sample 2023-10-24 11:44:43 +02: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
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
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
3acda0a0e9 switch model_builder python from numpy to pandas 2023-07-09 13:54:23 +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
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
Corentin Le Molgat
459f4ec380 Export linear_solver/ from google3 2023-05-24 15:34:57 +02: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
Laurent Perron
81f3fa0458 run model_builder python tests, rearrange linear solver testdata 2023-01-19 16:09:45 +01:00
Laurent Perron
1a9921587b typo 2023-01-16 13:25:46 +01:00
Laurent Perron
542ec76a8a fix #3614 2023-01-04 08:19:04 +01:00
Laurent Perron
d4d10c0e5c python example to solve a mps file 2022-10-11 13:36:35 +02:00
Laurent Perron
81b31ff24b Move model_builder under linear_solver 2022-09-12 11:28:52 +02:00