Commit Graph

42 Commits

Author SHA1 Message Date
Laurent Perron
19317b21fd more absl support: span... 2024-10-16 14:13:13 +02:00
Laurent Perron
32cdaa73f7 add WriteToMpsFile in model_builder, model_exporter 2024-07-12 17:45:41 +02:00
Laurent Perron
0ec48be40c improve model_builder python 2024-05-30 10:51:55 +02:00
Laurent Perron
bf2471515f cleanup semantics of under-specified constraint in model_builder python 2024-05-30 10:51:55 +02:00
Laurent Perron
ee2e20ce4d reformat 2024-05-30 10:51:55 +02:00
Mizux Seiha
a76bf1c5dd bump license boilerplate 2024-01-04 13:43:15 +01:00
Laurent Perron
72f274f844 Change proto to/from file API to use absl::StatusOr; add reader/writer proto_file to model_builder 2023-11-20 16:13:03 +01:00
Laurent Perron
b5f749b794 add import/export with proto on model_builder; add support for proto in solve_model.py 2023-11-19 07:22:44 +01:00
Laurent Perron
f7f79cd404 improve typing 2023-11-07 14:07:43 +01:00
Laurent Perron
330a4d9508 polish 2023-11-06 18:08:34 +01:00
Laurent Perron
7bdde984aa model_builder python: ModelBuilder -> Model, ModelSolver -> Solver; fix bug in enforced linear support; tweak wrappers: 2023-11-06 16:16:38 +01:00
Laurent Perron
fcd64e6b97 polish on model_builder code 2023-11-06 15:20:03 +01:00
Laurent Perron
686b530f10 [ModelBuilder] Add clear_terms and set_coefficient everywhere; finish indicator constraints in C# 2023-11-05 14:40:40 +01:00
Laurent Perron
ce9f1ed6d2 model builder: add clear_terms API; add enforced linear constraint in java + minimal test 2023-11-05 12:41:22 +01:00
Laurent Perron
1a610bd7ef additional work on indicator constraints in model_builder python 2023-11-05 10:06:20 +01:00
Laurent Perron
8fc323ed9e add indicator constraints to model_builder python 2023-11-05 09:51:40 +01:00
Laurent Perron
9d9ca5ccaf add hinting support for model_builder 2023-11-04 20:58:00 +01:00
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