Commit Graph

22 Commits

Author SHA1 Message Date
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
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
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
13fae89e88 fix for SCIP=OFF 2023-03-15 15:42:20 +01:00
Laurent Perron
c957fd9798 add activity query for model_builder 2023-03-03 12:12:37 +04:00
Laurent Perron
66184646fb [ModelBuilder] Polish numpy code 2023-03-02 12:03:28 +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
542ec76a8a fix #3614 2023-01-04 08:19:04 +01:00
Corentin Le Molgat
261ce61ae1 python: fixup 2022-10-10 13:44:12 +02:00
Laurent Perron
f39efd5ac8 fix, reindent, add tests 2022-09-27 18:00:48 +02:00
Corentin Le Molgat
7a401969c0 move examples/test/*.py to ortools/<component>/python 2022-09-22 13:54:16 +02:00